Resources
Test in Sandbox
Run a small-value end-to-end payment and verify both the wallet experience and your backend confirmation logic.
Test setup
- Use the D0 environment and credentials issued for your integration.
- Use dedicated receiving addresses with no production dependency.
- Fund test payer wallets with the selected token and native gas asset.
- Configure browser-safe RPC URLs for every enabled network.
A supported pair may run on mainnet and use assets with real value. Use the smallest practical amount and a treasury address dedicated to integration testing.
Happy path
- Create a fresh Checkout Session from the merchant backend.
- Open Connect Wallet and choose an installed wallet.
- Select an enabled chain and token, then review the receiving address.
- Approve a network switch if the wallet requests one.
- Confirm the token transfer.
- Wait for the backend to verify and finalize the order.
Failure cases
| Test | Expected result |
|---|---|
| Reject wallet connection | Checkout remains unpaid and can retry. |
| Reject network switch | No transfer prompt is sent. |
| Reject transaction | A neutral cancellation message is shown. |
| Insufficient gas asset | Simulation or wallet submission fails safely. |
| Wrong destination from browser | The adapter rejects the changed policy. |
| Replay submitted hash | The backend returns the original idempotent result. |
Record evidence
For each test, keep the order ID, session ID, connected wallet address, transaction hash, final receipt and backend credit record. Never include private keys or wallet recovery phrases.