Striper - Stripe Integration for WooCommerce
[resolved] seems like test keys are used in live mode (5 posts)

  1. froenhoefer
    Posted 1 year ago #

    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.


  2. Sean Voss
    Plugin Author

    Posted 1 year ago #


    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.


  3. Sean Voss
    Plugin Author

    Posted 1 year ago #


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

  4. Rass
    Posted 1 year ago #

    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 Striper0.22.zip 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.

  5. Sean Voss
    Plugin Author

    Posted 1 year ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Striper - Stripe Integration for WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic