A sandbox, or test mode, is a safe copy of a payment service where nothing real happens. Developers use it to build and check an integration: create payments, see them complete, and make sure their system reacts correctly, all without moving money.
Testing matters because a shop has to handle every outcome, not just a successful payment. In a sandbox you can try paid, expired and partly paid invoices, check that webhooks reach your server and are verified, and confirm that orders update correctly, before a single customer pays.
On AywaPay a test key creates test invoices that are never sent on a blockchain, so you can build and try everything before going live. When you are ready, you switch to the live key and nothing else in your code has to change.
Common questions
Do test payments cost anything?
No. Nothing is sent on a blockchain, so there are no fees.
What should I test before going live?
A paid invoice, an expired one and a partly paid one; that your server verifies webhook signatures; and that each order ends in the right state.