Title: Invalid API Key provided:
Last modified: May 21, 2020

---

# Invalid API Key provided:

 *  Resolved [IAmediaworks](https://wordpress.org/support/users/iamediaworks/)
 * (@iamediaworks)
 * [6 years ago](https://wordpress.org/support/topic/invalid-api-key-provided-3/)
 * Hey folks.
 * Added the Stripe gateway plugin, but am getting “payment failed” errors. When
   I check the logs, I get multiple instances of:
 * 2020-05-21T15:43:53+00:00 DEBUG
    ====Stripe Version: 4.3.3==== ====Start Log=
   === sources/src_1GlGYmBXqpGwQBwea8n3EdJY ====End Log====
 * 2020-05-21T15:43:53+00:00 DEBUG
    ====Stripe Version: 4.3.3==== ====Start Log=
   === Error: stdClass Object ( [error] => stdClass Object ( **[message] => Invalid
   API Key provided: sk_live_\*\*\*\*\*\*\*** [type] => invalid_request_error )
 * )
 * ====End Log====
 * But I’ve triple and quadruple-checked the settings, and the API key is set to:
   
   pk_live_Id*************************, not the secret key.
 * Help?
 * Thanks!

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

 *  [Joey – a11n](https://wordpress.org/support/users/jricketts4/)
 * (@jricketts4)
 * [6 years ago](https://wordpress.org/support/topic/invalid-api-key-provided-3/#post-12871546)
 * Hi [@iamediaworks](https://wordpress.org/support/users/iamediaworks/) – since
   this issue is referencing confidential keys that we don’t want to put in this
   thread, can you open a ticket? – [https://woocommerce.com/my-account/create-a-ticket/](https://woocommerce.com/my-account/create-a-ticket/)
 * Please include a screenshot of the Stripe payment settings – _WP Dashboard > 
   WooCommerce > Settings > Payments > Stripe_
    Additionally, please link us to 
   this forum thread.
 * Thanks!
    – Joey
 *  Thread Starter [IAmediaworks](https://wordpress.org/support/users/iamediaworks/)
 * (@iamediaworks)
 * [6 years ago](https://wordpress.org/support/topic/invalid-api-key-provided-3/#post-12871590)
 * Sure!!! Thanks a bunch.

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

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

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

## Tags

 * [invalid API key.](https://wordpress.org/support/topic-tag/invalid-api-key/)

 * 2 replies
 * 2 participants
 * Last reply from: [IAmediaworks](https://wordpress.org/support/users/iamediaworks/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/invalid-api-key-provided-3/#post-12871590)
 * Status: resolved