WooPayments: Test Accounts

If you’d like to try out WooPayments on a site without processing real transactions, you’re in luck: every site gets a dedicated test account during the setup process.

Test accounts allow you to explore WooPayments, simulate transactions, and interact with most features without entering any personal details, business information, or using real funds.

Note: In earlier versions of WooPayments and WooCommerce, test accounts were referred to as “sandbox accounts” and could be created by enabling “sandbox mode” or “dev mode” during setup. While current versions of WooPayments and WooCommerce no longer use this terminology, you may still encounter it in some older plugin versions.

How test accounts work

↑ Back to top

During the WooPayments signup process, you’ll be asked whether you’d like to Start accepting payments or Test payments. Choosing Test payments creates a dedicated test account for your site using simulated information — no personal or business details are required.

You’ll see indicators that you’re using a test account in several places, including:

  • The WooCommerce Payments settings page at WooCommerce > Settings > Payments
  • The WooPayments Overview page at Payments > Overview
  • The WooPayments Settings page at Payments > Settings

Note: WooPayments must still be connected to WordPress.com — even when using a test account. If you’re working locally, you’ll need to expose your site to the internet using ngrok or a similar tool.

You can use your test account for as long as you like, and you can transition to a live account when you’re ready to accept real payments from customers.

Moving from a test account to a live account

↑ Back to top

While using a test account, you cannot accept live payments. To do so, you will need to activate a live WooPayments account.

Note: When you upgrade to a live account, your test account will be deleted. Transaction data from your test account will still appear under WooCommerce > Orders, but it will not show in Payments > Transactions because test transactions were processed on a separate account that no longer exists.

To activate your WooPayments account, you can either:

  • Select Activate payments from the WooCommerce Payments settings page at WooCommerce > Settings > Payments
  • Select activate your WooPayments account from the WooPayments Overview page at Payments > Overview
  • Select Activate payments from the WooPayments Settings page at Payments > Settings

After selecting one of these options, confirm that you’d like to activate your account. From there, you can proceed through the standard account creation process.

Once your live account is set up, WooPayments will be ready to process real transactions.

Note: If you’d like to continue testing after going live, you can enable test mode at any time — but this will use your live account, not a separate test account.

Developer notes

↑ Back to top

If you’re running a development or staging site, WooPayments will detect this and only allow a test account to be created. This happens when either of the following constants are set in your wp-config.php file:

If you’re unsure whether either constant is set, you can check by going to Tools > Site Health > Info > WordPress Constants in your WordPress dashboard.

To disable this behavior and create a live WooPayments account, you’ll need to remove or update those constants in your configuration file. If you’re unfamiliar with how to update these constants or do not have access to edit your site’s configuration files, please contact your hosting provider.