No such customer, a similar object exists in live mode
-
We are encountering an issue when customers attempt to update their card details from the “My Account” section. The following error message is displayed:
Error Message:
“Sorry, we are unable to process the payment at this time. Reason: No such customer: ‘cus_QJQKTHDDzxgHkH’; a similar object exists in live mode, but a test mode key was used to make this request.”- The issue occurred because the payment mode was previously set to test mode, and an order was placed using live card details under the test environment.
- The payment mode has since been switched to live, but the customer is now unable to update their card details due to the mismatch in customer data (test mode vs. live mode).
We cannot remove the customer and recreate the order, as there are multiple orders linked to the same customer profile.
Is there a way to update the customer details in the database or Stripe system to align the data from test mode to live mode? Any guidance on resolving this issue without disrupting the customer’s existing orders would be greatly appreciated.
Thank you for your support. Looking forward to your assistance.
- You must be logged in to reply to this topic.