How to pay in the sandbox environment
Web access

In the sandbox environment, you can enter any card number to enter the payment page and select either "payment successful" or "payment failed". OSL Pay will then push the webhook corresponding to the successful or failed process.
OpenAPI access
CARD payment uses the following card numbers to test the corresponding scenarios
Card Number | CVV | Expiration Time | Test Scenarios |
---|---|---|---|
4539 3732 9896 7400 | Any | Any | Order placed successfully, redirecting to 3DS. |
4532 2274 1657 1592 | Any | Any | Payment failed |
4242 4242 4242 4242 | Any | Any | Payment successful. No need to be redirected to 3DS. |
GOOGLE_PAY and APPLE_PAY payments use the fiatAmount in the order parameters to test the corresponding scenarios
fiatAmount | Test Scenarios |
---|---|
200 | Order successful, no need to jump to 3ds |
300 | Payment failed |
400 | Order successful, jump to 3ds (APPLE_PAY no 3ds) |