Jump to content
Sign in to follow this  
J-B

Stripe: Customer want to pay a invoice with the American Amex

Recommended Posts

A customer want to pay his invoice with a American Amex. When he want to pay he get this error:

768547503_whmcserror.png.2e974760566de7fbc1dddcfce8da84c9.png

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?

Share this post


Link to post
Share on other sites

Hi @J-B,

Thanks for providing that information. This error is being returned directly by Stripe, and indicates that the address validation failed based upon the client's postcode/zip code: https://stripe.com/docs/radar/rules#traditional-bank-checks

Please have the client update their address details associated with the card (via the Pay Methods page) and try again.

Share this post


Link to post
Share on other sites

So John, why not present the customer with a user friendly error message telling them to do that?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By Si
      With the upcoming charges for cPanel for individual hosting accounts I used the server sync tool to identify hosting accounts on my server which had no paying customers.  After running the sync, I was amazed at how many there were.   (Wondered why they weren't terminated and deleted by WHMCS automatically over the years).  Anyway,  so I checked about 20 of them manually (all the white banded ones)......and for all of them, they were correct.  So with about 60 to get rid off, I was satisfied (foolishly) that the sync tool was correct.  I then manually deleted the accounts in WHM > Terminate Accounts.
      Today I had a couple of customers contact me to tell me their website had disappeared and their email wasn't working.  Sure enough the paid for hosting accounts were gone.  
      I had to recreate them on the server, and running the sync tool again, the same sites appeared as 'not linked to any WHMCS account again'.  But they are.  Paying customers with accounts that use the cPanel auto-login to the server etc etc.
      It now seems that the only explanation I have is that the customer ordered the hosting account using a capital letter in the domain.  So the sync tool MUST be searching for the domain with all lower case and not allowing for (as WHMCS allows) the listing of capital letters in the client account.  So beware.
      Obviously, if my conclusion is correct, this is something WHMCS would need to address.  If it's not, then something else is going on which is more worrying.  
    • By Mechanic
      We haven't yet upgraded to 7.8.2 but I installed a fresh copy for a client today.  They are a reseller.
      I have added their reseller account as a server and clicked on the refresh icon and it shows they have Unlimited account limits, while they do have an account limit on our server.
      I was not impressed. This is going to result in some misunderstanding.
      Please fix the issue.
    • By melotel
      Using default 6 theme, contacts of an organization see a blank screen when they login.  Works OK for the primary account, but their contacts dont have the Security Settings page.

    • By melotel
      I have enabled Time Based Tokens for clients.
      However, when they navigate to security and attempt to enabled the setting they get an error.
      Loading...An error occurred while communicating with the server. Please try again.

    • By battles
      Hello,
      Can someone help me set this to project a better experience for our clients? My clients wonder why in their portal area - there are invoices that show as "overdue" when in fact they are not. See attached. It doesn't look very good and I get it from their perspective. It;s not "overdue" it's due in XX days. The attached are the 2 "overdue" and when they are actually due. We invoice 30 days in advance.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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