Jump to content

Stripe Error Updating card details - Remote Transaction Failure. Please Contact Support


Annaleria

Recommended Posts

We are getting the above error when trying to update a client's credit card details, both through the client area and admin area of WHMCS. We are using Stripe for processing payments and the following can be seen in the Billing->Gateway Log

 

UserID => 1457

exception 'Stripe_CardError' with message 'Your card was declined.' in /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiRequestor.php:92

Stack trace:

#0 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiRequestor.php(136): Stripe_ApiRequestor->handleApiError('{\n "error": {\n...', 402, Array)

#1 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiRequestor.php(74): Stripe_ApiRequestor->_interpretResponse('{\n "error": {\n...', 402)

#2 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/ApiResource.php(94): Stripe_ApiRequestor->request('post', '/v1/customers/c...', Array)

#3 /home/account.infoserve.com/public_html/hosting/modules/gateways/stripe184/lib/Stripe/Customer.php(32): Stripe_ApiResource->_scopedSave('Stripe_Customer')

#4 /home/account.infoserve.com/public_html/hosting/modules/gateways/mostripe.php(347): Stripe_Customer->save()

#5 /home/account.infoserve.com/public_html/hosting/includes/ccfunctions.php(0): mostripe_storeremote(Array)

#6 /home/account.infoserve.com/public_html/hosting/clientarea.php(0): updateCCDetails()

#7 {main} #Status Code: 402

 

Other cards have been stored without any issue for other customers before and since, so it appears to be an issue with this customer or card.

 

Any further insight would be greatly appreciated.

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

The message being returned by your after-market module seems to state that your payment gateway is declining the client's card for some reason. I suggest contacting Stripe support to investigate why the card is being declined.

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.

  • 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