Skip to main content

Test credentials

This guide will allow you to test and force specific scenarios in sandbox environment:

1. OTP​

Introduce the last 5 numbers of the customer's phone number provided in order to advance to the next step within the checkout process.

2. Payment​

You will find lender-specific test credit cards within the checkout widget when you reach the down payment screen.

Once the payment is correctly processed, the confirmation flow will begin.

3. Confirmation flow​

Approved​

By default, the lender will always approve the Order in sandbox environment. Therefore, the Order approved by the lender scenarios can already be tested.

  • Confirm the approved order by responding accordingly → confirmed
  • Reject the approved order by responding with 410 status code → cancelled

Denied​

Underage customers (between 16 and 18 years of age) will force a denial by the lender, allowing you to test the Order denied by the lender scenario. It is important to note that in a production environment, setting a birth date below 18 years is not permitted. The checkout widget ensures that customers enter a date corresponding to an age of 18 years or older.

On hold​

In order to force an on_hold, it will be necessary to pass an specific last name. Depending on the last name passed, a final status will be triggered after 1 minute from confirmation:

  • For an automatic approved after confirming the on_hold, send review test approve.
  • For an automatic denied after confirming the on_hold, send review test cancel.

When you receive the POST notification request, respond accordingly to test any of the Order placed on hold by the lender scenarios.

  • Confirm the place on_hold by responding accordingly → on_hold
  • Reject the place on_hold by responding with 410 status code → cancelled