Title: Invalid API Keys
Last modified: May 30, 2017

---

# Invalid API Keys

 *  [elyukos](https://wordpress.org/support/users/elyukos/)
 * (@elyukos)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-api-keys/)
 * Hi, we are trying to setup Direct Stripe to have monthly subscriptions in our
   website. I just entered the live api keys, but when opening the page with the
   subscription button or when clicking on the button, I receive the following error:
   “
   Stripe Checkout can’t communicate with our payment processor because the API 
   key is invalid. Please contact the website owner or [support@stripe.com](https://wordpress.org/support/topic/invalid-api-keys/support@stripe.com?output_format=md)”
 * We doubled checked the keys and are still getting the error.
 * Thanks.

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

 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-api-keys/#post-9181251)
 * Hello [@elyukos](https://wordpress.org/support/users/elyukos/),
 * Thank you for using Direct Stripe.
 * Are you using version 2.0.1?
 * Can you proceed to checkout using test API keys?
 * Regards
 *  Thread Starter [elyukos](https://wordpress.org/support/users/elyukos/)
 * (@elyukos)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-api-keys/#post-9181422)
 * Thanks for your response! Yes, I am using version 2.0.1.
    Using the test keys
   and card number I am able to proceed to checkout but get a “something went wrong”
   error after processing.
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-api-keys/#post-9182638)
 * Hello [@elyukos](https://wordpress.org/support/users/elyukos/),
 * Could you send the error mesage that is printed in your stripe admin panel logs
   after a test transaction ?
 * You will find it in Events&logs -> logs
 * Regards
 *  Thread Starter [elyukos](https://wordpress.org/support/users/elyukos/)
 * (@elyukos)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-api-keys/#post-9188102)
 * Yes, apparently customer doesn’t exist:
 * {
    “error”: { “type”: “invalid_request_error”, “message”: “No such customer: 
   cus_AkjOUPvj3ZMEdt”, “param”: “customer” } }
    -  This reply was modified 8 years, 11 months ago by [elyukos](https://wordpress.org/support/users/elyukos/).
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-api-keys/#post-9188319)
 * Hello [@elyukos](https://wordpress.org/support/users/elyukos/),
 * Thanks for the details.
 * Could you try to make two transactions from an unknown customer using new email
   address (like [test@test.dev](https://wordpress.org/support/topic/invalid-api-keys/test@test.dev?output_format=md))?
 * If the second time the transaction succeed, that could mean that the user trying
   to be charged and failing has been deleted from your stripe’s account.
    To fix
   that you would go to the users page in your WordPress backend and delete its 
   stripe’s ID.
 * I hope this helped!
 * Best regards
    -  This reply was modified 8 years, 11 months ago by [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/).

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/direct-stripe_7787ff.svg)
 * [Direct Stripe](https://wordpress.org/plugins/direct-stripe/)
 * [Support Threads](https://wordpress.org/support/plugin/direct-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/direct-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/direct-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/direct-stripe/reviews/)

## Tags

 * [Api-keys](https://wordpress.org/support/topic-tag/api-keys/)

 * 5 replies
 * 2 participants
 * Last reply from: [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/invalid-api-keys/#post-9188319)
 * Status: not resolved