• 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 [email protected]

    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

    (@nahuelmahe)

    Hello @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

    (@elyukos)

    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

    (@nahuelmahe)

    Hello @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

    (@elyukos)

    Yes, apparently customer doesn’t exist:

    {
    “error”: {
    “type”: “invalid_request_error”,
    “message”: “No such customer: cus_AkjOUPvj3ZMEdt”,
    “param”: “customer”
    }
    }

    • This reply was modified 7 years, 6 months ago by elyukos.
    Plugin Author Nicolas Figueira

    (@nahuelmahe)

    Hello @elyukos,

    Thanks for the details.

    Could you try to make two transactions from an unknown customer using new email address (like [email protected] )?

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Invalid API Keys’ is closed to new replies.