Test Web Shop in live mode

Test payment process on test payments

Once published, only real payments are available in Web Shop. If needed to set up sandbox mode, add the Custom code block to the site, copy the following script, and click Publish.

Copy
Full screen
Small screen
<script>
  window.SB.subscribe((api) => {
    api.setSandboxMode(true);
  });
</script>

To make test payment, follow these steps:

  1. Open the Web Shop site.
  2. Log in or sign up on the site.

  1. Select a virtual item, virtual currency, bundle, or subscription and click the buy button.

Test cards list
See the list of test bank cards.

  1. Choose the Credit/Debit cards group of payment methods.
  2. Enter the test bank card details. Enter any values in the remaining fields. You can also specify incorrect details (card number, expiration date, or CVV) in order to generate an error.

Test payment process on real payments

Notice
Before checking the payment process on real payments, remove the script for working in sandbox mode from the Web Shop page and republish the site.

To make a real payment, follow these steps:

  1. Open the Web Shop site.
  2. Log in or sign up on the site.

  1. Select a virtual item, virtual currency, bundle, or subscription and click the buy button.

  1. Choose the Credit/Debit cards group of payment methods.

Note
After the launch of the project, payment by any methods is available, but for testing, it is recommended to use Visa or MasterCard cards.

  1. Enter valid bank card details.

To make a refund, follow these steps:

  1. In Publisher Account, go to the Support > Transaction search section.
  2. Choose the test transaction and click the More (•••) menu button. Click Refund in the pop-up menu (transaction should have the Complete status).

Notice
After the first real payment is made, a strict sandbox payment policy takes effect. A payment in the sandbox mode is available only to users who are specified in Publisher Account in the Company settings > Users section.

To cancel your subscription, use one of the options below:

  • Subscription search. In your Publisher Account, go to Support > Subscribers, find the subscription you want to cancel, and select Cancel and refund or Cancel without refund.

  • Search by recent transactions. In your Publisher Account, go to Support > Transaction search, find the last transactions to be canceled, and click Refund in the More (•••) menu.

Note
If the subscription has been paid for several times, all payments must be canceled.

Your progress
Thank you for your feedback!
Last updated: May 12, 2022

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!