Error: "Your request was made in live mode but you are using a test card". How to switch to Test mode?

Modified on: Wed, 24 Jul, 2019 at 10:22 AM

This article covers:

Accessing Chargebee Test and Live sites

Accessing Stripe sandbox and live accounts

Chargebee offers a Test site which is a sandbox environment that helps you configure settings and test workflows before you go Live. The Test site is identical to your Live site so you can configure sample data, connect a test payment gateway and test complete sign-up flows using test credit cards.

To access your Test site, click on your account name on the top left corner of your account and click on the “Go to TEST site” button. Here you will also see a list of other sites to which you have access. 

Note: If you do not see the “Go to TEST site” button on your account, you might not have access to the Test site. You would need to contact your account’s owner or admin to invite you to the Test site. Here’s more on how to invite a user to an account.

Test mode on your gateway account:

Payment gateways usually offer both sandbox and live environments. So you can link them to the corresponding Test and Live Chargebee sites. For example, Stripe offers a Test and a Live mode that you can switch between using the Text/Live toggle on the menu on the left. Ensure that you connect your Test Chargebee account with your Stripe account in Test mode so that you perform transactions using test cards. 

Related Articles and documentation:

Stripe integration

Chargebee site overview

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.