I’ve recently implemented new SCA-compliant payment buttons for Stripe subscriptions on my website.
The webhook URL looks like this: https://www.mysite.com/?swpm_process_stripe_sca_subscription=1&hook=1
But it doesn’t look like it actually works. When clicking the link, it says: Fatal Error! No ref_id provied.
Whereas the older webhook (https://www.mysite.com/?swpm_process_stripe_subscription=1&hook=1) displays “Empty Webhook data received.” which is the expected behaviour.
For information, Stripe sent me the following data: 61 requests returned HTTP 500, which is an indicator of a server error on your end.
Also, debug log info:
[09/25/2019 11:40 AM] – SUCCESS: Stripe SCA Subscription IPN received. Processing request…
[09/25/2019 11:40 AM] – FAILURE: Fatal Error! No ref_id provied.
Hi, thank you for reaching out to us. I have submitted a message to the plugin developers to investigate further your findings.
Thank you. I will investigate this. You shouldn’t directly just access that link though. That links is where Stripe will send data. So it will only work when actual data is sent to that URL from Stripe after a subscription payment.
Did you select the “Customer” event when you created the webhook?
Yes, I know I should not access the link directly, but the problem lies somewhere else (no ref_id provided).
When adding the webhook to Stripe, I selected both customer and charge events. I got the webhook URL during from the payment button creation in the admin.
Hope that helps
The new version that we released (v3.9.1) has a fix for this so it doesn’t output that “no ref_id provided” error unnecessarily. Please upgrade simple membership to the newest version.
Hi, thanks for your help. It seems the problem has been solved. All Stripe attempts used to fail for the SCA webhook, but now they get a 200 HTTP Response. Thanks very much again!
That is great news 🙂
Enjoy the plugin.
You must be logged in to reply to this topic.