Test Web Shop in sandbox mode
Sandbox is a stand-alone environment that supports all features of live mode, except for user log in, real payments, and refunds.
To test the work of Web Shop in sandbox mode, follow these steps:
- In the Builder for your site, click Preview.
Note
Web Shop preview in sandbox mode is available only for users who are specified in Publisher Account in the Company settings > Users section.
- Sign up on the site.
- Select a virtual item, virtual currency, bundle, or subscription and click the buy button.
Note
In sandbox mode, you can only test subscriptions without a trial period. To test subscriptions with a trial period, you need to use a real payment to create a billing account.
Test cards list
See the list of test bank cards.
- Choose the Credit/Debit cards group of payment methods.
- 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.
Note
In sandbox mode you can use only test bank cards. Sandbox bank card payments can be made in the following currencies: USD, EUR, RUB, GBP, AED, ALL, AMD, ARS, AUD, AZN, BGN, BRL, BYN, CAD, CHF, CLP, CNY, COP, CZK, DKK, DZD, EGP, GEL, HKD, HRK, HUF, IDR, ILS, INR, ISK, JPY, KES, KGS, KRW, KZT, MAD, MDL, MKD, MNT, MXN, MYR, NGN, PEN, PHP, PKR, PLN, RON, RSD, SAR, SEK, SGD, THB, TRY, TWD, UAH, UYU, UZS, VEF, VND, ZAR.
- Test your subscription renewal. To do this, use a test bank card to pay again for an existing subscription.
Notice
Subscription renewal is only available for subscriptions without a trial period.
- Test subscription cancellation. To do this, use one of the following options:
- 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.
- Update Subscription API call: change the subscription status to
Canceled and receive the Canceled Subscription webhook.
- Update Subscription API call: change the subscription status to
Next step
Useful links
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Found a typo or other text error? Select the text and press Ctrl+Enter.