-
Notifications
You must be signed in to change notification settings - Fork 20
Description
I've been thoroughly testing this app with several email addresses.
I decided to clear them out and start fresh after getting through most of the problems I'd run into setting it up.
For context, the site will be doing Subscriptions only.
I canceled the subscriptions from Stripe Payments.
Deleted the order from Stripe Payments (from within the order page -- I cannot seem to do it from the main list, all of the options are grayed out; see screenshot).
Deleted the users from Craft and their content.
Deleted the customer from Stripe (test mode).
Created new user on the front end, and tried to check out. Ended up with a 500 server error, which the logs tell me was Stripe complaining that the customer ID didn't exist. Stripe\\Exception\\InvalidRequestException(code: 0): No such customer: 'cus_<stripe-customer-code>'
I looked in the tables of Stripe Payments in the database, specifically 'craft_enupalstripe_customers', and all of the test customers I had created were still there!
I purged them, started over, and was able to successfully check out.
I would hope this is something that we would only ever see in testing orders, but in the event that there are issues with a customer order in the future and they need to recreate everything, this will certainly get in the way.
Craft 4.15.6.1, Enupal Stripe Payments Pro 5.5.2
PHP 8.1, Postgres 14.
Thank you!