Error: The subscription plan in Stripe could not be created, please try again.
This topic contains 34 replies, has 3 voices, and was last updated by Patrik 5 years, 6 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
May 13, 2019 at 9:15 am #3016
Hi Guys,
It looks like there’s an issue with check out.I’m unable to move past the checkout page using a discount code that makes the total $0. I get the following error: “Error: The subscription plan in Stripe could not be created, please try again.”
Thank you very much for your help.
Invoicing Version 1.0.9
Invoicing – Stripe Payment Gateway Version 1.0.6May 13, 2019 at 9:30 am #3019Actually, it seems to be an issue whenever i use any discount code (even if there is a total left on the invoice).
May 13, 2019 at 12:53 pm #3026Have you tried using PayPal? If PayPal subscriptions work, then that means it is your Stripe setup which is incorrect.
Please post your URL and WP admin details in a private reply if we need to check your settings.
Thanks
May 13, 2019 at 5:43 pm #3029This was due to the same item/product appearing twice in my Stripe account under test mode. I removed the additional product and it all works fine now. I’m able to use discounts without issue.
May 13, 2019 at 11:10 pm #3035Thanks for letting us know.
May 14, 2019 at 7:26 am #3040Here’s an update on this issue.
I thought this was resolved, since I had gone on Stripe and deleted all my test data. It seemed to have fixed it. However, I started testing the checkout process again and noticed that you can only pay successfully the first time you use a discount code. If you later on decide to buy another listing, and use a discount code again…. it will fail. Only once I delete the Stripe data does it work again.
If this only happens in test mode fine, no problem. But how can I know that this won’t happen after the first person uses a coupon? Will every one else experience a problem after that?
I’m including screenshot from Stripe with the log and error code. Apparently, the plugin keeps trying to create the same product/item even though it already exists? Do I have that right?
Thanks for all the help guys.
May 14, 2019 at 7:44 am #3042Hi,
If the plan exists on the stripe then it should not create a new plan with the same name but retrieve the existing plan and use that plan to create a subscription. Can you let us know the steps to generate the issue so that we can look into this and fix it?
Regards,
PatrikMay 14, 2019 at 8:08 am #3043Hi Patrik,
Thank you very much for your reply. Here are the steps that can help you replicate the issue:
1) Sign in as a front-end user and submit a paid listing
2) Use a discount code at checkout
3) Pay using Stripe (I have only tried this in Test Mode)
[this should work fine]
4) Try to create another paid listing (a new one)
5) Use the same discount code that you used beforeIf my theory is correct, then the first time you check out it will work just fine. However, if you decide to create another listing, it will fail with the error mentioned.
Please note that I have not had any issues with anyone signing up and getting this error message. However, I have not started using discount codes yet (so I don’t know whether this will affect others). Perhaps the issue is related only to the test environment. Perhaps it only affects the SAME user trying to buy another listing with the same discount code, which will likely never happen so it’s not a big deal. In any case, I just need to be sure that it will not be a problem to use discount codes.
Thanks very much guys!
May 14, 2019 at 8:14 am #3044So upon checking, it looks like this only will affect the same user, if they try to buy another listing and choose the same paid plan, and use the same discount code. It does not affect first-time users, even if they use the same discount code.
May 14, 2019 at 10:09 am #3045Can you check this setting in your discount codes:
May 14, 2019 at 10:48 am #3047Hi,
It works fine on our staging server. If we check out with the same items 2 times then it works fine. Can you provide admin and FTP details in private reply to look into your site? I can see 2 subscriptions in the same plan on stripe after checkout.
Regards,
PatrikMay 15, 2019 at 2:42 am #3051This reply has been marked as private.May 15, 2019 at 7:23 am #3054This reply has been marked as private.May 15, 2019 at 8:03 am #3055This reply has been marked as private.May 15, 2019 at 9:32 am #3059Both your monthly discount codes are set to be used only once by each user.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket