• Resolved krahmani5

    (@krahmani5)


    Hello WooCommerce Stripe Payment Gateway team,

    I have created an API key in the Stripe Dashboard and have a pk_live_xxx and a sk_live_xxx. I input these into the WooCommerce plugin. Everything appears to be working fine. A month passes and during this time, one customer had bought one item on the site. I decided to audit the WooCommerce configuration after the month and discovered that my live key is different than any API key I have (live or test) in the Stripe Dashboard. I had a DB backup of the website in the timeframe when I setup the integration and it turns out the stripe API keys I have in Woocommerce never actually changed, they just don’t match what is now being shown in the Stripe dashboard. No, I never rolled the keys and the stripe dashboard shows no logs for rolling the keys. Any help with this is appreciated. This doesn’t make any sense, the API keys I input should stay the same and not change either in the Stripe Dashboard or WooCommerce dashboard. Yes, even though things appear to be working, this is inconsistent.

    Looking forward to hearing back, please let me know if you need any other information. Thank you.

    • This topic was modified 5 years, 5 months ago by krahmani5.
    • This topic was modified 5 years, 5 months ago by krahmani5.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there @krahmani5,

    I had a DB backup of the website in the timeframe when I setup the integration and it turns out the stripe API keys I have in Woocommerce never actually changed, they just don’t match what is now being shown in the Stripe dashboard.

    This is weird indeed! It is possible that a Stripe account has been created via WooCommerce Onboarding Wizard and the changes you made were never saved. Unfortunately, it’s impossible to say why that happened as this is not an expected behavior or a known bug.

    At this point, I’d recommend you test again with your correct Stripe API credentials, place a test order and verify that you receive the funds to the correct account. If you do, then the API keys are saved properly now.

    Cheers!

    • This reply was modified 5 years, 5 months ago by Elvira K..
    Thread Starter krahmani5

    (@krahmani5)

    Hi @treibalen
    Thank you for your reply. The API key was created in the Stripe Dashboard and independent from WooCommerce. All I did was copy and paste the API key (around July) into the WooCommerce payment gateway settings for Stripe. I have two websites listed under the Stripe admin dashboard. I did at one point accidentally place the API key for one site on another and saved. I’m not sure if that would trigger the Stripe API key to change.

    I realize the fix is as easy as inserting the new key, but it is also about preventing this from happening in the future. Perhaps if a bug report is not open, one should be open. I wonder if it was because I inputted the key from one site to the other WooCommerce site, maybe this would be worth testing on your end.

    Because I don’t have much more time to spend on this issue and I verified the key was mine before a new one was randomly generated in Stripe, I will just change to the new key now and get this resolved.

    Hi there @krahmani5,

    If you’re sure that the keys you copied from Stripe were correct ones, and now they changed on Stripe’s end, I’d also recommend checking with Stripe why that could happen.

    I don’t see any reports that Stripe keys can change by itself on WooCommerce end. I have two test sites connected to the same Stripe account – so I use the same keys on both sites. Is it the same configuration you’re having or you’re using two separate Stripe accounts for two sites?

    Hi there @krahmani5,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Live key changed in Stripe dashboard and does not match WooCommerce config?’ is closed to new replies.