-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No Such Customer" on new installation in existing / active Commerce sites #302
Comments
Hey, I also encountered the same issue but I saw the issue when switching from Stripe test environment to live I also noticed the accounts we were using when Stripe test keys were being used, would come back as "customer doesn't exist" in Stripe when using live keys. I managed to fix this by removing everything from the stripe_customers table. But like @cherrykoda when I registered a new account in Craft, it worked ok |
We have this issue as well. New customers are working, but some returning customers get this issue. Craft: 5.5.10 Is there any update on this? It is very disruptive for our customers and I see the original issue was posted 8 months ago! |
Hi All This sounds like a similar issue to one answered here: #311 (comment) (a discrepancy between live and test Stripe environments) Will close this issue now as following the details in the outlined comment should get things working for you. Thanks! |
Description
When adding Stripe to an existing Craft Commerce v4 site, existing users who have an order history cannot checkout due to a stripe error regarding their customer ID not existing in Stripe. The Stripe Customers table is understandably empty following installation, but the payment element returns an error about the customer not being found in Stripe.
This screenshot is using the Craft example templates, unmodified. Sidebar omitted for user data privacy.
For new users / guests / those without any orders, they correctly get the Stripe payment element
Stripe support pointed to the Commerce Plugin as being the issue. The expectation here would be for the Commerce Plugin to handle the payment gateway of a user that doesn't exist in Stripe as a new Stripe customer, without removing the Craft Order history that's already in the system.
Also - I have confirmed this same issue with another Craft developer who encountered the same. Discord link here to brief discussion: https://discord.com/channels/456442477667418113/666747438794670140/1241324249474404442
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: