Testing & QA

This section provides details on how to test Aplazo’s payment flows, applicable to both the Online API and the In-Store API.

Testing Data

To test payments as a user, a registered phone number is required, along with a card to set up the payment method. Below is an overview of each requirement, with links to the corresponding sections for more details.

  • Registering a Test Account: A phone number must be registered to test transactions.

  • Adding a Test Payment Method: A test card must be set up to enable payments.

Test Accounts

Registering a Test Phone Number

To test Aplazo's payment flows, you need a phone number registered in the system. The Integrations Team can register your requested test phone numbers upon request at soporte-integraciones@aplazo.mx.

  • In the testing environment, you can bypass the OTP verification by entering 123456.

  • Any phone number can be registered, including random numbers. However, to receive the checkout URL message via SMS or WhatsApp, you must use a real phone number.

  • When using the In-Store API, the payment does not have to be completed with the same phone number used in the create payment request.

Simulating User Credit Limits

Test users have a mock credit limit, which can be exhausted during testing. If you run out of available credit:

  1. Log in to Aplazo's Customer Portal to simulate paying pending payments, using the same phone number and OTP to log in.

  2. Alternatively, contact soporte-integraciones@aplazo.mx to request a reset of the test account.

Test Card Data

The first time you try to make a payment, you'll need to set up a test card. Use the following:

  • Card Number: 4242 4242 4242 4242

  • CVV/CVC: 123

  • Expiration Date: Any future date

The test card is only required as a first time setup.

Checkout Flow for Users

A step-by-step guide to the checkout experience:

1

User initiates checkout with Aplazo

User initiates checkout with Aplazo, either by redirect (Online API) or getting the checkout url via sms/whatsapp/QR Code (In-Store API).

If the user is new, then it'll go through the onboarding process
2

User enters phone number and OTP

OTP can be bypassed using 123456 in testing
3

Register card (one-time setup)

One-time setup

Test Card Data

For testing, use the test card described in this guide

4

Review installment plan and confirm first payment

User always pays first installment upfront
5

Complete purchase

For the Online Experience, the user will be redirected to whatever successUrl the merchant configured.

For the In-Store Experience, the user will see Aplazo's confirmation page and continue the process with the cashier at the retailer's location.

Testing Webhooks

If you want to inspect webhook payloads before integrating them into your system, you can use a free online webhook testing service, such as:

These services allow you to capture and examine webhook events without any development effort.

For further assistance, contact soporte-integraciones@aplazo.mx.

Last updated

Was this helpful?