Testing & Certification
Test Cases — APMs
How to simulate SPEI, OXXO and MercadoPago payments in sandbox, including the ones that expire.
Test each alternative payment method end-to-end in Sandbox, receiving and validating the webhook for each one.
| Method | What to test | Amount | Expected status | Notes |
|---|---|---|---|---|
| SPEI Standard | Create the deposit → simulate in the checkout (click 'Simular Depósito', exact amount) | 98.00 MXN | ✅ Success | Click 'Simular Depósito' inside the checkout. |
| SPEI Frictionless (if enabled) | Use case 1: mismatched amount · Use case 2: direct transfer (no checkout) | Any | ✅ Success | Simulator: tonder.live/simulatedeposits/. |
| OXXO Pay | Create the payment → wait for the webhook (do NOT simulate — it arrives automatically) | 99.00 MXN | ✅ Success | No manual simulation needed. |
| Cash vouchers — Cash | type: safetypayCash · channel: WP · Bank ID in apm_config | 150.00 MXN | ✅ Success | channel must be 'WP', not 'web'. |
| Cash vouchers — Transfer | type: safetypayTransfer · channel: OL · Bank ID in apm_config | 150.00 MXN | ✅ Success | channel must be 'OL'. |
| MercadoPago | Create → redirect the user → complete with MP's official test cards | Any | ✅ Success | Email with the @testuser.com domain required; cardholder name = APRO to approve. |
SPEI Frictionless webhook fields to validate:
mismatched_deposit: 'True'+original_expected_amount(use case 1).concept: 'Frictionless deposit - auto-created'(use case 2).
Next steps
Was this page helpful?
