Support » Plugin: WooCommerce Stripe Payment Gateway » Clear saved card details after account switch

  • Resolved siwhyatt


    After an account update in stripe saved card details are now producing an error if customer tries to use them.

    If they enter the details again they work just fine, but unfortunately as the error doesn’t give any clues people don’t know to do this so abandon the sale.

    How can I delete all saved card details from the account so people don’t have the option to select them?

    I know in theory there is a way to copy the data ( but it seems like this is never going to happen so I’d prefer to just delete the stored numbers and get the issue sorted.



    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Support Joseph B. (a11n)


    Hello @siwhyatt!

    Thanks for reaching out!

    If they enter the details again they work just fine, but unfortunately as the error doesn’t give any clues people don’t know to do this so abandon the sale.

    You can disable the Enable payments via saved cards option under WooCommerce > Settings > Payments > Stripe.

    This will force all of your users to enter their card details manually.

    Your customers can also delete the saved payment data from My Account > Payment Methods.

    Let us know if these suggestions work! Thanks!

    Thread Starter siwhyatt


    Hi Joseph,

    Thanks for your reply. Unfortunately, none of these options work for me.

    I don’t want to disable saved cards, it’s a very useful function when it works.

    I’d like customers to be able to start saving their card details again within the new stripe account.

    I can’t really expect all customers to delete all their own cards, and anyway, the issue is the customers don’t know that the saved cards don’t work.

    For now I’ve created a modal pop up that appears at the checkout explaining the situation but it seems not all customers see it/understand it, and so continue to try and use the save cards only to get an error message that frustrates them.

    What I really need to do is wipe all the existing saved card details so customers can start saving them again.

    Is this possible?

    Plugin Support Juan G. woo-hc


    Hi @siwhyatt!

    Kindly notice that the saved cards details are directly stored in Stripe servers, not in your WooCommerce store.

    In the case you want to delete all of them to start over, we suggest you reach out to your Stripe account support team so they can help you delete the saved cards from their servers.

    You can contact the Stripe support team here:

    I hope this helps!

    Thread Starter siwhyatt


    As per the original ticket, I reached out to them already. Ideally, I’d like the details copied across to the new account. Can’t get any action on it though hence looking for alternatively solution.

    I understand that the card details aren’t saved – if they were there wouldn’t be a problem!

    What are saved are the tokens, and as the tokens don’t correspond to the new account, this is what generates the error.

    To be more precise, I want to delete the stored tokens from the woocommerce database to avoid the error.

    Can this be done?

    Plugin Support Joseph B. (a11n)


    Hello @siwhyatt!

    Thanks for the follow-up!

    To be more precise, I want to delete the stored tokens from the woocommerce database to avoid the error.

    Can this be done?

    As per our documentation for fixing customer errors associated with Stripe account changes, it is advised to contact Stripe to check whether existing customers and payment methods can be transferred over to the new account.

    Since you have already come across that option, the alternative recommendation is performing a database cleanup as laid out here.

    Hope this helps!

    Plugin Support Igor H (woo-hc)


    We haven’t heard back from you in a while, (I think that at this point you have been able to find a solution) so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.





    I have exactly the same Issue. Stripe support cannot provide help on how to delete Saved card TOKENS from the woocommerce.

    They can wipe cards on stripe account, but tokens will still remain in Woocommerce.

    Any info on that?

    Plugin Support xue28 (woo-hc)


    Hi @cheechee1

    Thanks for reaching out!

    I understand you are experiencing the same issue and since every site is different and you’re not the person who originally started this topic then, per the forum guidelines, would you please start your own topic?

    We’ll be more than happy to help there 🙂

    Sorry but wouldn’t that be repetitive for no reason? Can you just help here?

    Plugin Support xue28 (woo-hc)


    Hi @cheechee1

    As per the Forum Guidelines, and I will quote it here:

    I have the same problem! Can I just reply to someone else’s post with “Me too”?

    We’d rather you didn’t.

    Unless users have the exact same version of WordPress on the same physical server hosted by the same hosts with the same plugins, theme, and configurations, then the odds are the solution for one user will actually not be the same for another. Also it means someone else will get alerts for your problems and debugging, when they don’t need it.

    We ask everyone make a new topic, just for themselves, unless they are absolutely certain the problem is the same (like ‘I can’t log in to your service via your website!’).

    As I mentioned above, every site is different. What could be the root cause for another user might not be the same as the other user. Creating your own topic lets us focus on your issue alone.

    Furthermore, this thread has been marked as resolved already.


    Thread Starter siwhyatt


    A couple of points here @xue28

    1. Everything you say about versions makes no sense here as this was not any kind of error, it’s simply how the plugin is designed (badly).

    2. The issue was “marked as resolved”, but nothing was ever actually done by Stripe.

    @cheechee1 I “solved” this by simply deactivating the saved cards option in the Stripe plugin.

    At the end of the day everyone can save their card details in the browser and/or use Google/Apple pay so it’s not really necessary anyway.

    I never had any comments or complaints after removing it.

    Hope that helps!

    @siwhyatt Thank you! Actually I noticed later I am using another plugin and got a good response there (the data is stored in Customer meta):

    We’re more satisfied with this plugin than stripe’s native. Maybe it helps.

    I had this issue and the advice provided here worked great:

    I needed to clear the payment tokens from my site so users would be prompted to re-enter their CC info to be saved at the new stripe account.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.