Jump to content

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


J-B

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?

Link to comment
Share on other sites

  • WHMCS Support Manager

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.

Link to comment
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.

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