Payer Authentication — Sandbox Testing
The CyoGate sandbox supports full 3DS2 testing including frictionless flows and challenge simulations.
Sandbox Configuration
CyoGateGateway.ThreeDS.configure({
environment: 'sandbox',
publicKey: 'YOUR_SANDBOX_PUBLIC_KEY',
});
Simulating a Challenge
Use test card 4012888888881881 to trigger the challenge flow. The challenge screen appears — enter any 6-digit code to simulate a successful challenge.
Sandbox OTP Codes
| OTP Code | Result |
|---|---|
| Any 6 digits | Authentication success |
000000 | Authentication failed |
111111 | Authentication abandoned |