Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Subscription On Stripe API Error
Tagged: fail, stripe, subscriptions
- This topic has 2 replies, 2 voices, and was last updated 6 years, 5 months ago by
jharries.
-
AuthorPosts
-
March 17, 2018 at 5:36 pm #14776
jharries
MemberGood Morning,
Sorry, I’m bugging you guys a lot today, as I try to change from PayPal Pro to Stripe. (I’m so done with Paypal!)
First off note that I have worked around this problem, so it’s not urgent, but I thought you would like to know about it since I think it is the result of a Stripe API change that’s only going to manifest when setting up a new subscription.
Here it is:
I have normal payments working stripe on Stripe (Normal stripe, not basic). So I think all my API settings are good.
But I’m getting an error code
Stripe – Could not create a subscription plan
Response Status – 400
Error Type – invalid_request_error
Error Code –
Received unknown parameter: name
I fixed this by setting up the required subscription type in Stripe by hand using their dashboard.
I’m guessing that this is because Stripe recently had a flurry of changes to their API. See this help file:
[https://stripe.com/docs/upgrades?since=2018-02-28#api-changelogare]
Here are the logs showing that it bombed on setting up the Stripe Subscription Type:
[03/17/2018 5:13 PM] – SUCCESS :Stripe – checking to see if a plan already exists, ID: aactesting.comestore-1
[03/17/2018 5:13 PM] – FAILURE :
Stripe – Error trying to retrieve plan
Response Status – 404
Error Type – invalid_request_error
Error Code –
No such plan: aactesting.comestore-1
[03/17/2018 5:13 PM] – SUCCESS :Stripe – attempting to create a new subscription plan
[03/17/2018 5:13 PM] – SUCCESS :
Array
(
[amount] => 1999
[interval] => year
[interval_count] => 1
[name] => Member One Year, Auto Renewal
[currency] => usd
[id] => aactesting.comestore-1
[metadata] => Array
(
[eStore_prod_id] => 1
)
)
[03/17/2018 5:13 PM] – FAILURE :
Stripe – Could not create a subscription plan
Response Status – 400
Error Type – invalid_request_error
Error Code –
Received unknown parameter: name
Hope that’s useful.
John
March 18, 2018 at 10:31 am #77547wpCommerce
ModeratorHi, We have updated our integration code to make the payment gateway bundle add-on compatible with these recent Stripe API changes. But we need to run more tests before we can make it live on our site. I have sent you the updated copy of the add-on via email for testing. Let me know if you don’t receive it.
March 18, 2018 at 1:54 pm #77548jharries
MemberGreat support! thanks. Got it and will test.
-
AuthorPosts
- You must be logged in to reply to this topic.