Jump to content

J-B

Senior Member
  • Content Count

    82
  • Joined

  • Last visited

Community Reputation

2 Neutral

About J-B

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks brian! This Thread help me to modified my hook.
  2. Yes, the users have the choice of the gateway. I want only to disable stripe for new customer who have never paid an invoice. If there is a successfully paid invoice, everything should be displayed.
  3. Hello @brian! i have try to modified the hook for viewinvoice.php but it is not working: <?php /** * Modify Payment Gateway Options Based On Loggedin Status for J-B * @author brian! */ function viewinvoice_gateway_removal_based_on_loggedin_status_hook($vars) { $client = Menu::context('client'); $paidinvoices = $vars['clientsstats']['numpaidinvoices']; if ($vars['templatefile']=='viewinvoice'){ $gateways = $vars['gateways']; $removed = array("stripe","stripe_sepa"); if (!$client) { foreach ($gateways as $k => $item) { if (in_array($item['sysname'],$removed)) { unset($gateways[$k]); } } return array("gateways" => $gateways); } if ($paidinvoices == 0) { foreach ($gateways as $k => $item) { if (in_array($item['sysname'],$removed)) { unset($gateways[$k]); } } return array("gateways" => $gateways); } } } add_hook("ClientAreaPage", 1, "viewinvoice_gateway_removal_based_on_loggedin_status_hook"); I think the "if ($vars['templatefile']=='viewinvoice'){" is not right?! Have you a idea?
  4. You are using the Stripe Test Key. Use the Live keys.
  5. Thank you @WHMCS Peter I dont think that is a feature request. I can't understand why Modulesgarden correctly implements the Stripe SEPA Modul and whmcs just can't. But ok, in this form the module is unusable for me when I have to write a "HowTo" how my customers have to use SEPA. The stripe module was also implemented very good, of course there were many bugs but it is user-friendly.
  6. @WHMCS Arty @WHMCS Alex @WHMCS Brian @WHMCS Aaron @WHMCS Andrew @WHMCS ChrisD When will the module be updated so that it can also be used legally? Modulesgarden seems to have implemented it correctly. Why didn't WHMCS do the same?
  7. Hello, i am trying Stripe SEPA, but I'm not sure how to use it?! 1.) Where is the page for entering the bank details, Bank Name & IBAN Number? The module "Stripe" has the page to add/setup new credit cards. -> /whmcs/index.php?rp=/account/paymentmethods 2.) How I can setup recurring payment ... 2.1.) of a product 2.2) or for all products like the Modul "Stripe". At the moment I can only pay an invoice with Stripe SEPA over viewinvoice.php?id=XXXX (One Time), but how to setup the SEPA for all Products? 3.) How I can (as Customer) delete the SEPA (Remote Delete Card)? 4.) No Email Template If a payment fails, the credit card Email template is used. Why? Why doesn't SEPA have its own Email template? I am using WHMCS 7.9.2 with six Template and stanard_order
  8. Thank you, it works! But, for me, the matter has settled. The contact form is not compatible with the ticket system. If the e-mail is imported in the ticket system, the sender is not displayed. For WHMCS ist not a bug, it is a feature. 👏 I redirect my contact Site to the WordPress Site, in WordPress it works fine.
  9. FYI this hook isnt working too.
  10. Hello, Unfortunately, I have to open a new topic because the other one was closed. The code from @brian!, to get a checkbox for GDPR reason is not working anymore in WHMCS 7.8.x. Does anyone have an idea why? <input type="checkbox" required name="gdprconsent" oninvalid="this.setCustomValidity('{$LANG.ordererrords}')" oninput="setCustomValidity('')"> I consent blah blah
  11. A customer want to pay his invoice with a American Amex. When he want to pay he get this error: Why is here no exact error message? In the error logs are: [Mon Oct 07 17:31:41.479493 2019] [proxy_fcgi:error] [pid 7541:tid 140059963561728] [client 111.111.111.11:1056] AH01071: Got error 'PHP message: [WHMCS Application] ERROR: Stripe\\Error\\InvalidRequest: The zip code you supplied failed validation. in /var/customers/webs/whmcs/vendor/stripe/stripe-php/lib/ApiRequestor.php:210 from API request 'req_QVxBcyh4Acmw0T' Stack trace: #0 /var/customers/webs/whmcs/vendor/stripe/stripe-php/lib/ApiRequestor.php(173): Stripe\\ApiRequestor::_specificAPIError('{\\n "error": {\\n...', 400, Object(Stripe\\Util\\CaseInsensitiveArray), Array, Array) #1 /var/customers/webs/whmcs/vendor/stripe/stripe-php/lib/ApiRequestor.php(473): Stripe\\ApiRequestor->handleErrorResponse('{\\n "error": {\\n...', 400, Object(Stripe\\Util\\CaseInsensitiveArray), Array) #2 /var/customers/webs/whmcs/vendor/stripe/stripe-php/lib/ApiRequestor.php(126): Stripe\\ApiRequestor->_interpretResponse('{\\n "error": {\\n...', 400, Object(Stripe\\Util\\CaseInsensitiveArray)) #3 /var/customers/webs/whmcs/vendor/stripe/stripe-php/lib/ApiOperations/Request.php(57...', referer: https://www.domain.xy/whmcs/creditcard.php?invoiceid=1490 Any idea?
  12. I updated to the latest version today and I find a new bug. In the Language Files are links for example: The link really shows up to https://mydomain/submitticket.php and not corretly to https://mydomain/whmcs/submitticket.php. I have try with <a href=\"{$WEB_ROOT}/submitticket.php\"> but no luck. If I try: <a href=\"whmcs/submitticket.php\"> it makes https://mydomain/whmcs/whmcs/submitticket.php I hope you understand the problem 🙂
  13. Will I be paid for it? Sorry, but time is money and I have no time to test beta releases and then run my business and adapt the template after each release or update. I can't put my whole time in WHMCS. I hope you understand that. This is not free software that depends on the community. Not for everyone! Those who need to adapt the template need to invest more time. And testing is possible even if the modules used are present.
  14. Unbelievable, 3 releases are being published and again a hotfix. Seriously? You have increased the prices and only deliver bad quality. Finally, stop publishing new releases too fast and test it properly. Unbelievable, sorry that is only unbelievable ...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated