• Resolved oceanlagoon332

    (@oceanlagoon332)


    We recently went through a legal change that required us to create a new Stripe account. We were using the Stripe/Woo plugin fine previously. After inputting the new Stripe keys for our new account, all of our existing customers are getting this No such customer error.

    This is similar to this (https://www.ads-software.com/support/topic/no-such-customer-cus_gkublkefd2ccdg-error/) recent issue, but in that case it was test/live IDs. In my case, it is an entirely new Stripe account.

    A common suggestion is to delete the customers in Woocommerce or in Stripe. I cannot delete the customers in Woocommerce because they are actual customers and I need to retain their purchase history in Woocommerce. I can’t delete the customers in Stripe because they don’t exist.

    The problem is that the association in Woocommerce of WordPress user to Stripe customer ID is now invalid and needs to be reset.

    Would any of the following work?
    * If I disable, delete, and then re-install the Stripe plugin will that wipe out the Stripe customer association in WordPress? The docs say: “When you deactivate and then delete the extension, there is logic in place to remove all Stripe settings from the options table. However, there is a safeguard in case deactivation and deletion was in error” This sort of implies to me that Stripe customer IDs might get saved?

    * I can manually change the database. Presumably there is one column of a database table that holds the Stripe customer ID for every WordPress user, and if I just null this out then I’m good to go. Can anyone point me in the right direction?

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @oceanlagoon332,

    Before I give a straightforward answer, I’d really like to know if there are any other conditions that could affect how this works.

    Do you happen to be using the Subscriptions plugin on your site?

    Thank you,
    Joey

    Thread Starter oceanlagoon332

    (@oceanlagoon332)

    Hi

    Thank you so much for your reply.

    No, we are not using Subscriptions. The Woocommerce-related plugins we have are:

    Printful Integration for WooCommerce
    WooCommerce – ShipStation Integration
    WooCommerce Advanced Notifications
    WooCommerce Bulk Stock Management
    WooCommerce Cart Add-Ons
    WooCommerce Google Analytics Integration
    WooCommerce Menu Cart
    WooCommerce Product Add-ons
    WooCommerce Product Bundles
    WooCommerce Product Table Lite
    WooCommerce Services
    WooCommerce Stripe Gateway
    WooCommerce UPS Shipping
    WooCommerce USPS Shipping
    WOOF – WooCommerce Products Filter
    FooSales

    Thank you

    Thank you, @oceanlagoon332!
    Do you mind submitting a ticket so that we can share more sensitive information? We may need to login to take a further look.

    Please contact us at WooCommerce.com > My Account > Tickets. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there!

    Thank you,
    Joey

    Hey guys, what’s the solution for that? We have an identical situation. Stripe support copied over from old stripe to new customers, but still, customers can’t pay for orders…

    Same here, what’s a workable solution?
    Thanks

    Hello,

    We recently ran into a similar issue where we had switch to a different stripe account.

    Our new stripe account did not have any customers in it, but some of our woocommerce customers had placed orders on our old stipe account and had stripe customer id’s already registered.

    The solution that we found was to clear the wordpress database of those _stripe_customer_id from the wp_usermeta table:

    DELETE * FROM wp_usermeta WHERE meta_key LIKE ‘_stripe_customer_id’

    You also want to make sure that those customers are not in your stripe account.

    After we cleared these fields from the wordpress database, customers were immediately able to place orders with stripe.

    I hope this information helps.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No such customer error after changing Stripe accounts’ is closed to new replies.