Hi Guys,
I’m resubmitting this issue as it has been marked “resolved” but it is not.
When a customer tries to pay using a discount code, they get the following error “Error: The subscription plan in Stripe could not be created, please try again.”
Looking at the Stripe logs, I can see that the error is “Product already exists”. All I can figure is that your plugin is trying to add the same plan to Stripe, and it already exists.
At first I thought it was just me having issues in test mode, because I would have to clear the data on Stripe every time before paying with a discount code, but in fact the issue affects everyone. We ended up disabling all discount codes since everyone who tried reported this same problem and error code.
Here’s complete info and screenshots on this issue:
https://wpinvoicing.com/support/topic/error-the-subscription-plan-in-stripe-could-not-be-created-please-try-again/page/2/#post-3063