• kubadrex

    (@kubadrex)


    Hello, I’m using your plugin for the Stripe Checkout payment. Lately, we have experienced two issues, whereas everything was working flawless before.

    First one:
    No API key provided. (HINT: set your API key using “Stripe:setApiKey()”. You can generate API keys from Stripe web interface. See https://stripe.com/api for details, or email [email protected] if you have any questions.

    Second one:
    Expired API Key provided:
    rk_live_******************************xxxXXX. Platform access may have been revoked.

    Both errors happened in checkout, when user is clicking the proceed to payment button within the checkout form. Then the request is sent but instead of redirecting user to the Stripe Checkout page, the form error is displayed.

    The thing is that we did not change anything regarding the plugin configuration and those errors occurred in random situation. The way we fixed it and get the Stripe Checkout working again was disconnecting the OAuth connection and use the legacy one, based on the API keys.

    Are you able to give us some hint why those have happened? As for the second error, is it possible that we need to provide the fresh API key from time to time as it gets expired?

    Currently, we are using your plugin in 4.0.4 version, WooCommerce is 9.6.0 and WordPress 6.7.1.

    • This topic was modified 1 month ago by kubadrex.
Viewing 1 replies (of 1 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @kubadrex,

    Greetings from Webtoffee!

    The “No API key provided” or “Expired API key provided” errors with your Stripe integration usually points to issues with OAuth token refresh or API key configuration.

    Troubleshooting Steps:

    1. OAuth Connection: Ensure your Stripe connection is active. When you’re using OAuth, this is the most important step: Try completely disconnecting and then reconnecting your Stripe account within the plugin settings. This often resolves token refresh problems.
    2. Check Logs: Examine the Stripe logs (WooCommerce > Status > Logs > wt_stripe_oauth) for any errors, especially those related to token refresh failures. These logs will provide the most detailed information about what’s going wrong.
    3. Possible Causes: These errors can arise from failed OAuth token refreshes, or temporary network issues.

    If the problem continues after reconnecting OAuth, please share the Stripe logs (privately using this link) for further analysis. The logs are essential for pinpointing the cause.

Viewing 1 replies (of 1 total)
  • The topic ‘Two API-related issues for Stripe Checkout’ is closed to new replies.