• Resolved astanley612

    (@astanley612)


    Hello,

    I have a reoccurring error on this site http://womensbizcoop.com/ in which I get the following after I test my Stripe button:

    Fatal error: Uncaught exception ‘Stripe\Error\Authentication’ with message ‘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.’

    This error occurs in both Test and Live mode. However, my Stripe logs show that the transaction processed and I get the green check button right before the page redirects to the error. I have checked my API keys and there are no preceding or trailing spaces. I also have this plugin installed on another site and it works just fine. It uses the same API keys and shortcode. Here is the example: http://odiscrimination.com/
    I have checked for theme, plugin, and widget conflicts and I still get the error regardless.

    https://wordpress.org/plugins/stripe/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Invalid API Key Error’ is closed to new replies.