- This topic has 4 replies, 3 voices, and was last updated 1 year, 2 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Stripe button error! Payment with ref_id XXX can’t be found
I’ve received several duplicate payments from some users because when accepting the payment, they get the error “Error! Payment with ref_id XXXXXXX can’t be found,” but the payment was successful.
Has this happened to anyone else? Do you know why this error can occur even if the payment is successful?
I’m using a button with the payment_method_types=”card” attribute, so that the payment is always made by card (as I was told in this post: https://simple-membership-plugin.com/forums/topic/how-to-change-stripe-payment-method-with-hook/)
Thank you very much!
Do you have any SWPM debug logs to share? And please do not mask out the numbers.
Copy and paste the complete shortcode that you are using for the payment button. It will be good for us to take a look at that.
Is this for a one-time payment or a recurring/subscription payment?
Also, we will need debug logging info, so enable the debug logging feature then do a test transaction. Can you reproduce the issue when you do a test?
https://simple-membership-plugin.com/enable-debug-logging/
The complete shortcode I’m using is:
[swpm_payment_button id="759" button_text="Pago 20€" payment_method_types="card" class="wpform-connect"]
It is for a one-time payment.
I don’t have the debug logging on and I’m not able to reproduce the error, and I have tried many times!
The complete error without any mask is:
“error! Payment with ref_id swpm_994780c31bf702be965debb3d6ed8666|760 can’t be found”
Thank you!
It is possible, that since you are unable to recreate the issue, that the problem was with the payment method or other anomaly on either the Stripe or user end.