• Resolved diligant

    (@diligant)


    Hi.

    My friend chose your plugin to setup stripe payments on her site. My issue is when I use a shortcode no matter what I pass in the amount field it always passes another plan id. It always is the same one too.

    [direct-stripe type="subscription" amount="monthly" name="Power Love Graduate Membership" description="$97/Month-billed Monthly" label="I'm a YES to MORE POWER LOVE! ?" panellabel="Subscribe Now"]

    No matter what i use for amount it passes “plan_16” to stripe. See below

    {
      "customer": "cus_CrzXpoT56pVl38",
      "plan": "plan_16",
      "metadata": {
        "description": "The great monthly plan"
      }
    }

    This is definitely a bug unless I’m missing some hidden override for passing stripe subscription plan ids. I am in test mode when this happens. I don’t want to test it live because of potential miss charges

    Any help would appreciated

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter diligant

    (@diligant)

    I confirmed this happens on live mode as well

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @diligant,

    Thank you for using Direct Stripe,

    There has been confusion with subscriptions since Stripe converted plans as a type of Product, I am working on an update of the plugin and will try to make make it less confusing.

    Until then, the ID to be used in the amount parameter of the shortcode when using subscription type is the ID of the Pricing plan associated with a product.
    If left empty during the creation of the pricing plan, the ID looks like plan_Cv8dz6ISgXcAgf

    Let me know if this works.

    Best regards

    Hi,

    i am having the same issues and did try your resolutions but still doesn’t work.

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @dupliconline,

    Thank you for using Direct Stripe.

    Could you check your Stripe logs and share the message logged when a subscrition fails ?

    You will find the logs in the Stripe admin panel at Developers -> logs

    Best regards,

    Thread Starter diligant

    (@diligant)

    updating the plugin fixed the issue. Thanks

    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @diligant,

    Thank you for letting me know.

    Best wishes,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘subscription shortcode sends wrong plan id to stripe’ is closed to new replies.