Test site 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 a site in sandbox mode, follow these steps:

  1. In the Builder for your site, click Preview.

  1. 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.
  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 cards list
See the list of test bank cards.
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.

If you receive the 0004-0008 error when making a test payment on the site preview, check if your site has been published. In such cases, only users specified in the Company settings > Users section can make test payments.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: March 19, 2025

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!
We couldn't send your feedback
Try again later or contact us at doc_feedback@xsolla.com.