# Stripe gateway rejecting live payments, thinking it’s in test mode

**URL:** https://forum.kirupa.com/t/stripe-gateway-rejecting-live-payments-thinking-it-s-in-test-mode/635274
**Category:** web dev
**Created:** [September 16, 2016, 2:52pm UTC](https://forum.kirupa.com/t/stripe-gateway-rejecting-live-payments-thinking-it-s-in-test-mode/635274 "2016-09-16T14:52:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AnderSco01](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@AnderSco01](https://forum.kirupa.com/u/AnderSco01)
#### Post date: [September 16, 2016, 2:52pm UTC](https://forum.kirupa.com/t/stripe-gateway-rejecting-live-payments-thinking-it-s-in-test-mode/635274/1 "2016-09-16T14:52:37Z")

</div>

Hello,

Hope you are well. I’m trying to test my Stripe account with a live payment using my own debit card, but even though the toggle on my homepage dashboard is pointing to “Live”, I get the following error on my site:

"Your card was declined. Your request was in test mode, but used a non test card. For a list of valid test cards, visit: [https://stripe.com/docs/testing."](https://stripe.com/docs/testing.%22)

Dummy test numbers work ok in either mode, it just keeps thinking it’s in test mode. I’ve checked the test and live API keys and they are correct, having re-entered them several times with no change.

Any assistance would be greatly appreciated, thank you for reading, looking forward to your reply.
