Jump to content
fherbert

Stripe error occurred when using saved card

Recommended Posts

I've recently upgraded to WHMCS 7.9.2. Since the upgrade I've been unable to use any stored credit cards when paying via stripe payment gateway.  When selected the saved card and error appears saying An Error Occurred. Please try again. 

I've checked the gateway log and nothing is logged there, nothing is logged on the stripe side. I can enter a new (same) card and the payment goes through but then the second saved card gives the same error next time an attempt is made to use it.

Where do I start trying to troubleshoot this?

Share this post


Link to post
Share on other sites

I have now, awaiting a response. I couldn't initially as I didn't have the reseller support link (I purchased whmcs though a reseller)

Share this post


Link to post
Share on other sites

@fherbert are you using a custom theme in the admin area?  Does this issue occur when you capture in both the admin and client areas?

Share this post


Link to post
Share on other sites

I'm not using a custom theme in the admin area. I'm not sure what you mean when you say 'capture in both admin and client areas'? It occurs when a customer attempts to pay an invoice using the stripe payment option (currently the only one). 

Share this post


Link to post
Share on other sites

I just tried a capture from the admin area using the saved card and it worked.

Share this post


Link to post
Share on other sites

I have exactly the same issue, i have opened a support ticket as there are no answers on the community so far.

Share this post


Link to post
Share on other sites

The response I've had back from WHMCS support is to remove the pdo_mysql PHP extension and replace with nd_pdo_mysql. This appears to have resolved the stripe issue for me.

Share this post


Link to post
Share on other sites

Thanks fherbert, got the same response. It was the problem and all is working as it should be now.

Thanks for the update.

Share this post


Link to post
Share on other sites

Oh man... thank gawd that others had this issue. I was starting to freak, as the pile of client tickets of “I cannot pay my invoice!” was adding up. 

Disabling the pdo_mysql PHP extension and  activating nd_pdo_mysql worked.

I mean... if your clients see that you can’t make one of the most important functions of a billing solution work for your own company, how/why would they want to trust you with their own livelihoods?!

Yo WHMCS  folks... think you can have an alert flag us during an upgrade, alerting us that we have an incompatible php extension activated?

Share this post


Link to post
Share on other sites

Hi all,

We've seen reports of this error occurring on some environments in WHMCS 7.9.x and through our analysis determined that servers without the nd_pdo_mysql extension encounter this error. It seems mostly to be impacting Cloudlinux environments (but not exclusively).

I've opened case MODULE-7317 with our development team to look at potential programmatic solutions.

In the meantime, as others have stated, enabling the nd_pdo_mysql PHP extension will immediately resolve this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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