Closed moumitahalder closed 1 year ago
I'm getting this error when testing with a new Moodle account and email address. The only common element is the credit card number. Could you please investigate further and advise? Thanks
Hi, please use the latest version of stripe plugin.
The "something else happened" error results from requesting a transaction in the production environment with a customer id created in the test environment or vice versa. When the stripe plugin requests a stripe customer id for a new login (email address), it stores it in the enrol_stripepayment database table and uses that id for subsequent transactions.
This means if you switch from stripe production environment to test environment, you either have to use a different login or you have to manually delete the database table row for that user (email address).