Support » Plugin: Striper - Stripe Integration for WooCommerce » seems like test keys are used in live mode

  • Resolved froenhoefer


    Received the following error first time trying to process real transaction:

    “Payment error:We couldn’t charge this card because its Stripe token was created with an API key in test mode and now a charge is being attempted with an API key in live mode.”

    Noticed there was a plugin update, so I just updated. Same issue. From documentation this error only occurs when using the the correct test keys in live mode, so I tried putting the live keys in the test mode boxes and it successfully processed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sean Voss



    You are 100% correct, I just looked over my plugin to my dismay and saw that I indeed had.

    -                   $this->testPublishableKey = $this->settings['test_publishable_key'  ];
    -                   $this->livePublishableKey = $this->settings['test_publishable_key'  ];
    +        $this->testPublishableKey = $this->settings['test_publishable_key'  ];
    +        $this->livePublishableKey = $this->settings['live_publishable_key'  ];

    Should be fixed in v0.5. Can you test and make sure.

    Thank you so much for the feedback.


    Plugin Author Sean Voss



    Have you had a chance to download v0.5+ and verify that it fixes your problem?

    I am having problems with my striper plugin.
    two questions One: where do I find the error log to view what’s going wrong, and Two: The Zip file I downloaded just the other day is called In Seans comments above, He mentions a 0.5 version, One am I out of date, if so, where do i get the latest?
    My current project site is

    Thank you in advance for your interest.

    Plugin Author Sean Voss


    Hey Rass,

    My numbering system is just counting up until I reach 1.0 so 22 is greater than 5.

    Had originally planned to goto 1.0 before .10 but didn’t feel ready.

    Anyway, what problems are you having, if you have access to your shell like a VPS you can find error in the php error log.

    There’s a common error i’m working on a fix for that will tell you you need a card or payment token when you try to checkout, is that your issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘seems like test keys are used in live mode’ is closed to new replies.