• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Payments Plugin for Stripe

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • Terms & Conditions
    • My Downloads
    • License Key
  • Support
    • Support Forum
    • Forum Search
    • Forum Login
    • Forum Registration
    • Email Support for Customers
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Topics / Can't Publish Subscription Plan

[Resolved] Can't Publish Subscription Plan

· ·

Home › Forums › Stripe Payments Plugin › Can't Publish Subscription Plan

  • This topic has 6 replies, 2 voices, and was last updated 6 years, 8 months ago by Admin.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • September 6, 2018 at 4:04 am #1408
    thewedge
    Participant

    I went through your how to setup a subscription plan/product. I made a subscription Plan, but the only option is to save as draft, or pending review. You can’t publish the subscription, which means you can’t select the plan in the product area. I tried to do quick edit and select publish, but every time I save it goes back to draft. You have an issue here.

    September 6, 2018 at 5:58 am #1409
    Admin
    Keymaster

    I just tested this right now and works fine. Are you missing a value in the “Title” field of the subscription plan?

    It gives you an error if you do not enter a title and try to hit the “Create Plan” button. However, some wordpress sites may have a lot of warnings in the admin interface (from other plugins). So you can miss the error our plugin shows due to all the other warning notices already there.

    September 6, 2018 at 3:26 pm #1410
    thewedge
    Participant

    The error was the api. I thought I had to do that, but didn’t know how until I reread your how to. It works now. WordPress really should change their error to a red box with white letters and the word ERROR large so you see it. What they have can be missed very easily. Even a pink box like how Joomla does it would be helpful.

    September 6, 2018 at 7:00 pm #1411
    thewedge
    Participant

    I have another problem. When I create the subscription and select Live mode it says it published it. When I select the plan in the product and save it, apply the short code, on the page it tells me that the Error: product ID is invalid. When I go back to the subscription, and update it, it says that I used a live subscription, but a test mode api was used. But the live was selected. I then went to settings and checked the box that put it in live mode. I went back through this scenario once again, but it keeps doing the same thing. I even removed the test api, but it still fails. Giving up.

    September 6, 2018 at 7:05 pm #1412
    thewedge
    Participant

    When I get rid of the test api it says this

    No API key provided. (HINT: set your API key using “Stripe::setApiKey(<API-KEY>)”. You can generate API keys from the Stripe web interface. See https://stripe.com/api for details, or email [email protected] if you have any questions.

    September 7, 2018 at 12:02 am #1414
    thewedge
    Participant

    I quite my browser to flush out any retained information and tried again. The subscriptions took this time, but can you look into this to see if it happens to you. I don’t want the client to make things in the future and have issues.

    September 7, 2018 at 7:14 am #1416
    Admin
    Keymaster

    You should put both your test and live API keys in the settings and save it. You can get all these details in your Stripe account.

    With the subscription plans, Stripe doesn’t let you switch an existing subscription plan between test and live. If you create a subscription plan for test mode, that is only available in test mode. If you create a subscription plan for live mode, it will be available in live mode only.

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

Primary Sidebar

Featured Addons and Extensions

  • Subscription Payments Addon
  • Additional Custom Fields
  • Secure Downloads Addon
  • Apple Pay, Google Pay, Afterpay

Addon Bundle

Stripe Payments Addon Bundle

A Simple & Lightweight Plugin

Our Philosophy with the Plugin

Support Links

  • Support Forum
  • Support Contact

Search

Copyright © 2025 | Stripe Plugins | A member of the Tips and Tricks HQ family.