Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Support request] Stripe subscription cancel fails: No API key provided

Simple Membership Plugin › Forums › Simple Membership Plugin › Stripe subscription cancel fails: No API key provided

Tagged: api key, cancel, stripe

  • This topic has 2 replies, 2 voices, and was last updated 5 years ago by MADIdeas.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 23, 2021 at 9:23 am #22618
    MADIdeas
    Participant

    Hi

    Firstly thanks for your great plugin. I have a problem when cancelling subscriptions manually via the admin panel, where Stripe cancel fails and claims no API key is provided, typical log entry here:

    [2021/05/23 08:29:09] – FAILURE: Error occurred during Stripe Subscription cancellation. 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 support@stripe.com if you have any questions.

    Clearly the API keys are present since all the payment side’s working great. Any suggestions?

    May 24, 2021 at 5:57 am #22620
    mbrsolution
    Moderator

    Hi,

    The best practice for a subscription payment is to cancel it from the payment gateway (from your merchant account). This is the same for both PayPal and Stripe. When you (the site admin) cancel a subscription payment, our plugin will receive a notification and it will disable the member’s account. Check the following support thread for more information. Please check the following forum post for more information.

    https://simple-membership-plugin.com/forums/topic/membership-not-autorenewing-in-a-recurrent-payment/#post-20508

    Let me know if the above helps you.

    Thank you

    May 24, 2021 at 8:28 am #22623
    MADIdeas
    Participant

    Hi

    While that may work and I’ll certainly bear it in mind for the future, it doesn’t really address the question as to why the SWPM Stripe cancel payment request clearly isn’t picking up the API key…

    It’s really just an annoyance since everything else is working fine.

    Cheers

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

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy