Environments
| Environment | Dashboard | API |
|---|---|---|
| Sandbox | sandbox-dashboard.paynext.com | sandbox-api.paynext.com |
| Production | dashboard.paynext.com | api.paynext.com |
Setup Checklist
1
Configure processor in sandbox
Add your processor’s sandbox/test credentials in sandbox-dashboard.paynext.com → Integrations.
2
Create sandbox API keys
Generate API keys in sandbox-dashboard.paynext.com → Developers → API Keys.
3
Set SDK environment
Use
environment: 'sandbox' when mounting the SDK:4
Test payment flows
Use processor-specific test cards to simulate different scenarios.
Test Credentials
Each processor provides test credentials for their sandbox environment—cards, wallets, and alternative payment methods. See your processor’s integration page in Integrations for sandbox setup guides and test credentials.Best Practices
During Development
- Use sandbox exclusively — Never test with production credentials during development
- Test all payment methods — Verify each enabled payment method works correctly
- Simulate failures — Use test cards that trigger declines to test your error handling
- Verify webhooks — Confirm your webhook endpoint receives and processes events correctly
Before Going Live
- Complete end-to-end testing — Test the full flow from checkout to settlement
- Verify 3D Secure — Test authentication flows with 3DS-enabled test cards
- Test subscription scenarios — Verify trials, renewals, upgrades, and cancellations
- Check Dashboard data — Confirm payments appear correctly in the sandbox Dashboard
Going Live
- Add production credentials for your processor in dashboard.paynext.com
- Generate production API keys in dashboard.paynext.com → Developers
- Update your backend to use
api.paynext.com - Change SDK
environmentto'production' - Process a small real payment to verify the integration
Debugging
| Issue | Cause | Solution |
|---|---|---|
| Authentication failed | Wrong environment credentials | Verify API key matches environment |
| Processor error | Sandbox credentials in production | Check processor credentials match PayNext environment |
| Payments not appearing | Wrong Dashboard | Switch to correct environment in sidebar |
| Webhooks not received | Wrong endpoint | Verify webhook URL is configured in correct environment |