Test Mode vs Live Mode

Learn the difference between Test Mode and Live Mode and how to switch between them.

Testing Payments

Use the test card 4242 4242 4242 4242 with any expiration and CVV.

Activating Test Mode

To use the test environment, simply click on the test mode button on the top navbar of the dashboard.

All functionality on Bagel will now be in test mode. You can create products, checkout sessions, and receive payments without any real money being involved.

Webhooks and API keys that you will see on the Developer tab will also be exclusively for the test environment.

Feature Comparison

Feature

Test Mode

Live Mode

Is Environment Dependent?

Create Products (One-Time/Subscription)

YES

Generate Payment Links

YES

Simulate Payments (Card, Wallet, etc.)

x

YES

Process Real Payments

x

YES

Issue Refunds

✓ (Simulated)

✓ (Real)

YES

Access Transaction History

✓ (Simulated)

✓ (Real)

YES

Download Invoices

✓ (Simulated)

✓ (Real)

YES

Link Bank Account

YES

Payouts to Bank Account

x

YES

Simulate Failed Transactions

x

YES

Analytics Graph in Home

✓ (Simulated)

✓ (Real)

YES

View Detailed Reports

✓ (Simulated)

✓ (Real)

YES

API Keys generation

YES

Real-time Fraud Detection

x

YES

Webhook Creation

YES

Business Profile section

YES

Create multiple Store

YES

Payout Compliance

YES

Transaction Emails

x

YES

Environment Dependency

Environment Dependent

All Environment Dependent features will have independent data in Test Mode and Live Mode. Any changes made in one environment will not affect the other. Eg. API Keys generated in Test Mode will be independent of API keys generated in Live Mode and vice versa

Environment Independent

All Environment Independent features will have the same data in both live mode and test mode. Eg. My Account section will have the same data in test mode and live mode. Changes made in one environment will affect the other environment

You can accept real payments only in `live mode`.

API Hostnames for Test Mode and Live Mode are below:

Key Highlights

  1. All products created in test mode or live mode will only be available in the respective environment.

  2. API keys and Webhooks created in test mode will only be limited to test mode environment and will not affect live mode deployment and vice versa

  3. All documents submitted for verification and Bank account details submitted will be the same in test mode and live mode. A change in this information in any environment will also change it in the other environment

Last updated