Fatal error problem with Stripe Pay Now button
-
Firstly I would like to thank you for you plugin, it’s a gem! I have used it before.
Now I get the Fatal error message in a site…
I only need the Buy Now button for Stripe, not a subscription.
Using Divi on the site.Stripe is connected. API keys are live, OK. (It was working great in test mode.)
As I create the button I tick: use the general keys.
All look great, but as I click to the button, getting this message:
Fatal error! Payment with ref_id swpm_xxxxx|xxxx can’t be found
So I have tried to fix it with Perplexity AI.
– No cache plugin is turned on
– I have turned off the firewall for a while
– Added a webhook, using this ending: /?swpm_process_stripe_webhook=1
Than changed it to this: /?swpm_process_stripe_sca_buy_now=1
The webhook uses two events: checkout.session.completed and payment_intent.succeeded . (Tried it with more, but it hasn’t made a difference.)
– Added a Restricted key
– Cancelled every data, and re-connected everything again, step by step.Nothing worked.
The log file only shows:
[2025/08/08 12:50:55] – SUCCESS: Stripe SCA Buy Now IPN received. Processing request… [2025/08/08 12:50:55] – FAILURE: Fatal error! Payment with ref_id swpm_xxxx|xxxx can’t be foundSo I activated the old, ugly Legacy Pay Now button, enabled it at Stripe, and it works.
But I would really like to have the new one.
What more should I do?
The page I need help with: [log in to see the link]
The topic ‘Fatal error problem with Stripe Pay Now button’ is closed to new replies.