Sandbox: Tap to Pay Integration
When testing Tap to Pay in the sandbox environment, follow the steps outlined below to perform your simulations.
Terminal Registration
You do not need a physical device to perform sandbox testing. To simulate terminal registration:
- Send a registration request with any arbitrary value for the appDeviceId in the request body.
- Upon receiving a successful response, contact the Ezypay team to activate the device on the backend.
- Once activated, a
terminal_registrationwebhook will be triggered and returned to your system, confirming the successful registration of the test device.
Terminal Invoice Simulation
In the sandbox environment, terminal invoices will return a PAID status for any entered amount, except for the specific values listed below. These amounts are preconfigured to simulate common payment failures, allowing you to test your error handling logic.
| Amount | Simulated Failure Reason |
|---|---|
| 19 | 51: Insufficient funds / Over credit limit / Not sufficient funds |
| 29 | 54: Expired card |
| 49 | 905_1: Could not find an acquirer account for the provided txvariant (amex), currency (AUD), and action (AUTH) |
Updated 21 days ago