Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Subscription On Stripe API Error

by

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 5 years ago by jharries.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 17, 2018 at 5:36 pm #14776
    jharries
    Member

    Good 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 #77547
    wpCommerce
    Moderator

    Hi, 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 #77548
    jharries
    Member

    Great support! thanks. Got it and will test.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ