Leaky Paywall plugin blanked my dashboard

Leaky paywall installed no problem - activating the sucker blanks out my dashboard though. I've also tried this after deactivating all of my plugins, and Wordpress is up to date. This is a sandbox site, but it also did that to my main site and only an FTP delete of the plugin saved my bacon there. Any suggestions on what may be causing that?

  • Nithin
    • Support Wizard

    Hey Rob,

    Hope you are doing good today. :slight_smile:

    I tested the plugin in my system, and even I get the same issue, with the following Fatal error:
    Fatal error: Uncaught Stripe_AuthenticationError: 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.

    According to the plugin documentation, the plugin should have worked once activated, so I'm not sure whether I'm missing anything here while setting the plugin. This seems to be an issue with the plugin. Would recommend you to get in touch with the plugin developer to get this resolved quickly.

    However changing the following line 26 of Charge.php, in wp-content/plugins/leaky-paywall/include/stripe/lib/Stripe/Charge.php, seems to work. That is from:
    return self::_scopedAll($class, $params, $apiKey);

    return Stripe::setApiKey(<API KEY>);

    This isn't a recommend solution, as I'm not sure how the plugin functions, or whether it would produce any other conflicts. The workaround is only for testing purposes, and highly recommend you to get in touch with the plugin developer to get this sorted. I could see you have already created a support ticket.

    You could try other plugins like Pay Per View, and see whether that fits to your needs. If not, maybe plugins mentioned in the following article helps:

    Please do let us know how that goes, have a nice day. :slight_smile:

    Best Regards,

  • Rob
    • Design Lord, Child of Thor

    Thank you! I was hoping it was something simple, but now I can rest assured there's nothing I'm doing wrong. Also, I can update my alert to the plugin publisher with your feedback. They probably want to get cracking on that immediately, which will hasten the fix, I'm sure.

    Thanks again,


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.