Simple Membership Plugin › Forums › Simple Membership Plugin › Fatal error! Payment with ref_id swpm_xxxx|1859 can’t be found
- This topic has 12 replies, 3 voices, and was last updated 4 years, 10 months ago by
Marita.
-
AuthorPosts
-
May 10, 2021 at 3:50 am #22563
aoi
ParticipantHello. I’m hoping you can point me in the right direction. I receive the following error when clicking on the Stripe SCA Subscription button:
Fatal error! Payment with ref_id swpm_xxxx|1859 can’t be found
My Stripe SCA Subscription button has an ID of 1859 in the Simple Membership Plugin. I do have my Stripe account setup, including an associated Stripe product subscription. I have the test and live Stripe keys entered into the Payment Settings.
Any help is greatly appreciated.
May 12, 2021 at 11:27 pm #22581mbrsolution
ModeratorHi,
Please check the following documentation.
https://simple-membership-plugin.com/sca-compliant-stripe-subscription-button/
I want to make sure these are the instructions you followed to create your subscription button.
Thank you
June 21, 2021 at 5:54 am #22714Marita
ParticipantHi,
Just wondering if this was ever resolved? I have just changed over 3 buttons to be SCA compliant, and now ONE of them won’t work, it throws the same error message : Fatal error! Payment with ref_id swpm_xxxxxx|4143 can’t be found. I deleted the original one, created a new one, even moved it – nothing works. I don’t understand why this would only occur with ONE of them? And of course, it’s the one everybody is trying to use now, as it’s the renewal button…can someone please help?
I’m using Astra theme, updated that too.June 21, 2021 at 9:21 pm #22716mbrsolution
Moderator@Marita, do you have a cache plugin installed in your site? If you do, make sure you clear your cache. Then carry out a test.
Thank you
June 22, 2021 at 2:47 am #22722Marita
ParticipantHi,
No I don’t – but the host uses Cloudflare & I don’t have access to those settings. I’ve written to the host this morning asking for those pages to be set to not-cache, am waiting to hear back from them. I did get the button to work by unticking the ‘use API keys from Payment settings tab’ and manually entering the Stripe API keys – but only on a new page. Putting the identical button onto the existing page did not work – so I believe it’s definitely a caching issue. Is there a plugin I can download to force-clear the cache? While I’m waiting to hear back I’ve had to put the Legacy button back on, as I really would prefer not to re-create the page (so many links to it!). Any suggestions extremely welcome – and Thank You for responding.
Regards,
MaritaJune 22, 2021 at 9:52 pm #22729mbrsolution
Moderatorbut the host uses Cloudflare & I don’t have access to those settings.
You will have to wait until you hear from your host about Cloudflare settings. They should be able to fix this issue for you.
Is there a plugin I can download to force-clear the cache?
I am not aware of such plugin because you are talking about Cloudflare services.
Regards
June 22, 2021 at 11:58 pm #22735Marita
ParticipantThank you for your reply.
The host has responded and advised that only the Cloudflare DNS is being used for this site not the proxy or caching.
He also said there is no explicit Expires header set for the pages so browsers and isp proxies are free to cache as they see fit.
As I mentioned I have not installed a caching plugin but his comment makes me think I need to do so. Is there a particular one that is suggested which doesnt clash with the simple membership plugin?
Thank you in advance. I appreciate the support very much.
MaritaJune 23, 2021 at 1:05 am #22737mbrsolution
ModeratorPlease check the following support thread.
https://simple-membership-plugin.com/forums/topic/sca-subscription-stripe-error/#post-19834
Let me know if the above helps you.
Thank you
June 23, 2021 at 3:04 am #22738Marita
ParticipantMine is not a product on Stripe – it’s not set up as a subscription. I’ve followed the instructions on this page:
https://simple-membership-plugin.com/sca-compliant-stripe-buy-now-button/ for 3 buttons.
The other 2 buttons work correctly – taking people to the Stripe interface. Just this one doesn’t work. When I place it on a fresh page, it works (after adding the Stripe API payment details manually, unticking the ‘get API’ details from the button settings).
MaritaJune 23, 2021 at 3:12 am #22739mbrsolution
ModeratorHi,
Putting the identical button onto the existing page did not work – so I believe it’s definitely a caching issue.
Your current page is probably corrupted. This happens from time to time. In my opinion your only solution is to create a new page which you have already mentioned that works in a new page.
Regards
June 23, 2021 at 3:44 am #22740Marita
ParticipantCreated a new page – it appears that I can’t put 2 buttons on the same page as the same thing happened. Then, when I removed the 1st button, the 2nd button works fine. I had 2 buttons – one for expired members, using the partial protection :
[swpm_protected visible_to=”expired” do_not_show_protected_msg=”1″ ]
[swpm_payment_button id=2871 button_text=”Please Pay Here” class=”my-stripe-button”]
[/swpm_protected]
then for the button which did NOT WORK, in the next section, this is what I had :
[swpm_protected for=”5″ do_not_show_protected_msg=”1″]
[swpm_payment_button id=4143 button_text=”Please Pay Here” class=”my-stripe-button”]
[/swpm_protected]
As soon as I removed the shortcode for the ‘expired’ members, the 2nd button, for members level ‘5’ worked. I am inserting these using Elementor. Is there a different shortcode I can use to overcome this as I’d like to keep both options on the same page?June 23, 2021 at 10:19 pm #22743mbrsolution
ModeratorHi,
No, unfortunately there is not other way. Have you read through the following instructions?
https://simple-membership-plugin.com/apply-partial-section-protection/Regards
June 24, 2021 at 5:14 am #22746Marita
ParticipantYes I have read all that documentation. I have finally found a solution – but it’s a workaround as I still couldn’t get the second button to work . Using the Stripe Payments Plugin to create the membership levels as products. Inserted the button between the partial-protection shortcode as previously attempted with the other method onto the same page as before. No problems so far.
Thanks for trying to help.
Marita -
AuthorPosts
- You must be logged in to reply to this topic.