Sandbox vs Production
PayIn uses environment separation to reduce the risk of accidental real-money operations during integration and testing.
| Environment | Purpose | Typical network type |
|---|---|---|
| Sandbox | Development, QA, merchant integration, demos | Testnet or mock services |
| Production | Real merchant payments | Mainnet |
Sandbox first
Merchants should always verify the full flow in sandbox before production:
- Create a test order.
- Open the payment page.
- Send a testnet payment.
- Confirm PayIn detects the transaction.
- Confirm webhook delivery.
- Confirm merchant business logic handles the event correctly.
Production readiness
Before production, confirm:
- Separate production database and secrets
- Mainnet RPC providers
- Webhook signature verification
- Monitoring and alerting
- Backup and rollback procedures
- Clear operational owner for payment incidents