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.