Support

Home Forums WP User Integration Stripe Test Payments

Stripe Test Payments

Posted: April 13, 2018 at 9:27 am


JrgenHXJaasfh

April 13, 2018 at 9:27 am

Hello,
When I try to do a test payment with Stripe I’m getting an error message saying “Your card was declined. Your request was in live mode, but used a known test card.” How do I switch from live mode to test mode?
Thanks


Josh

  • Support Staff

April 13, 2018 at 9:29 am

You go to Event Espresso > Payment Method Settings > Stripe and set Debug Mode On? to Yes.


JrgenHXJaasfh

April 13, 2018 at 9:35 am

Thanks, I’ve switched to debug mode in payment method settings, but now I get an error saying “Stripe Payment Method is in debug mode but the authentication with Stripe Connect is in Live mode. Payments will not be processed correctly! If you wish to test this payment method, please reset the connection and use sandbox credentials to authenticate with Stripe Connect.” What do I do here?


Josh

  • Support Staff

April 13, 2018 at 9:39 am

You’ll need to disconnect first, then switch to Debug mode (save the settings page so the gateway is in Debug Mode), then reconnect.


JrgenHXJaasfh

April 13, 2018 at 9:42 am

I tried to disconnect but nothing happens.


Josh

  • Support Staff

April 13, 2018 at 9:54 am

Set Debug Mode On back to No, then save the page, then you’ll be able to disconnect.


JrgenHXJaasfh

April 13, 2018 at 9:58 am

Hi josh,
Thank you. I tried it again and it disconnect and is now set to debug mode. When I try a test payment I receive the following message “You did not set a valid publishable key. call stripe.setPublishableKey()with your publishable key.” is this a stripe issue or event espresso? on my stripe dashboard I am in testing mode and have publishable test key and secret test key, showing up on the page.


Josh

  • Support Staff

April 13, 2018 at 10:00 am

May I ask after you disconnected, then set to Debug Mode, did you then reconnect?


JrgenHXJaasfh

April 13, 2018 at 10:06 am

I’m so sorry. Yes, I just tried and all is fine. Thank you so much for your time today. I really appreciate it.


Josh

  • Support Staff

April 13, 2018 at 10:15 am

I’m so glad it’s working for you now. When you’re ready to start taking real payments you’ll follow these steps:

  1. Go to Event Espresso > Payment Method Settings > Stripe
  2. Click the Disconnect button
  3. Set Debug mode On? to No
  4. Click the Update button to save the settings
  5. Click the Connect Button and follow the prompts to Connect to Stripe live mode


JrgenHXJaasfh

April 13, 2018 at 10:19 am

Great, thanks again for your help Josh!

The support post ‘Stripe Test Payments’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso