• Resolved maxbelcfjc

    (@maxbelcfjc)


    Hello,

    We have been using the WebToffee Stripe plugin successfully for a few years now, including the switch to the oAuth authentication method at the end of last year. However, in the pas several weeks, a troubling “pattern” has emerged. Orders and payments work fine for a few days (anywhere from 4-5 to 10), then 1 or 2 orders randomly fail. The following day, orders start failing more frequently until most orders fail. Clients will try multiple attempts to pay, occasionally being successful, but most give up after a few tries.

    It seems to be an authentication problem because transactions for these orders are never created in Stripe. In the eh_stripe_pay_dead log, the error is always the same, referring to an invalid API key ([message] => Invalid API Key provided: rk_live_***). I don’t see any token errors in the corresponding wt_stripe_oauth log. A few members seem to have posted about similar issues, but I can’t see a fix in these threads.

    A few additional details: we are using the WT Stripe plugin side by side with the Woocommerce Stripe Gateway plugin. Each plugin routes transactions to a separate Stripe account – one for Canadian dollars, one for Euros (WT Stripe is for Euros). This was set up years ago, before I was responsible for the site, and has worked well for all this time. Our hosting (Cloudways) uses object caching and Varnish, and the site uses the Breeze caching plugin.

    If we simply disconnect and reconnect to the Stripe account through the dashboard, the problem is resolved, but only for a few days, until the cycle starts again.

    The recurring but unpredictable nature of the failures makes me believe this might be a caching issue. Should I stop Stripe transients from being cached? What would be the best way of doing this?

    Or maybe I’m way off base and there is another solution. Anyone have any ideas?

Viewing 1 replies (of 1 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @maxbelcfjc,

    Greetings from Webtoffee!

    We understand that you’re experiencing payment issues on your site. There is a chance that it might be affected by caching plugins.

    To help us investigate this matter further, we would appreciate it if you could share your logs. Specifically, we’re looking for the “wt_stripe_oauth” and “eh_stripe_pay_dead” logs from the date the issue occurred. Please send them privately to us, from WooCommerce -> Status -> Logs referencing this forum query. You can use this link to share the logs.

Viewing 1 replies (of 1 total)

The topic ‘Random order failure : Invalid API Key provided’ is closed to new replies.