Hi @izna1993
Is this customer paying with a new credit card or a saved credit card?
Is this a one time product or a subscription product?
Was the customer clicking the “save credit card” checkbox on the checkout page?
Was this a guest user or a returning customer?
Thanks,
Is this customer paying with a new credit card or a saved credit card?
We don’t have save credit card option available on your store.
Is this a one time product or a subscription product?
One time product
Was the customer clicking the “save credit card” checkbox on the checkout page?
//
Was this a guest user or a returning customer?
I’ve checked on my stripe and store, its was guest user.
Hi @izna1993
I see from past threads that you’re using Funnel Kit for Upsells. Can you confirm if this error occurred on your upsell page?
Are you using any other Stripe plugins?
Thanks,
Hello,
No, I only use your wonderful plugin 🙂
The thing is from like 300 orders, this is the only payment who had this issue
Hi @izna1993
No, I only use your wonderful plugin
Did you discontinue your use of the WooFunnels/Funnelkit Upsell plugin?
I don’t know why your customer got that error. Are there any other order notes indicating a prior error message for that customer?
Kind Regards,
Hello,
No, I still use it
Now I have 3 payments with this message and here is the complete message :
Payment processing error. Reason: The provided PaymentMethod cannot be attached. To reuse a PaymentMethod, you must attach it to a Customer first. Order status changed from Pending Payment to Failed.
Please note that I changed Stripe account twice this month and they might be some problem with that.
The last customer who had this issue was active on the store 4 days ago and I was using another stripe account.
I few times need to change the Stripe account and would like to know how to avoid this next time
Thank you
Hi @izna1993
Changing the account is likely the culprit. When a customer ID is created in Stripe, it’s associated with the Stripe account that the plugin is connected to. When you switch accounts, that Stripe customer ID does not exist in the new account.
You will need to clear out the customer ID’s from your WordPress usermeta table if you are continuously switching Stripe accounts.
Kind Regards,
Hello,
thanks for the replay. Can you tell me how I can clean this usermeta table?
Hi @izna1993
You can perform a SQL query using something like phpmyadmin. You will want a query like:
Example:
DELETE FROM ${your_usermeta_table} WHERE meta_key LIKE %wc_stripe_customer_%
Kind Regards,