Stripe gateway rejecting live payments, thinking it’s in test mode
<p>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:</p>

<blockquote>
  <p>"Your card was declined. Your request was in test mode, but used a non test card. For a list of valid test cards, visit: <a href="https://stripe.com/docs/testing" rel="noreferrer">https://stripe.com/docs/testing</a>."</p>
</blockquote>

<p>Dummy test numbers work ok in either mode, but 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.</p>