The Sandbox environment lets you develop and test your integration without touching live payments.

Sandbox Environment

Atoa’s sandbox environment is a self-contained environment that simulates the live production environment. The sandbox provides a space where you can initiate, experiment and watch transactions without touching a live bank account. We highly recommend that you use the sandbox before generating the production keys.

The sandbox mirrors all the features of the live environment but has some minor differences that make it easy to test flows. Please follow the sandbox guide to know more.

Atoa Sandbox environment guide

The Sandbox serves as a testing environment enabling merchants to simulate the end-to-end payment process. Merchants can use sandbox credentials to simulate different scenarios, such as successful payments, failed payments, and pending payments.

Note

Refer to the getting started guide for signup, obtaining an access token, and creating a payment request. Then, proceed with the steps below to simulate different payment scenarios.

Follow these steps to simulate different scenarios

2(a) Simulate a Successful Payment

Follow the instructions given below.

  • Step 1: Generate a Payment Request using sandbox access.
  • Step 2: Open the payment URL or scan the QR code URL using your phone’s camera.
  • Step 3: Enter the desired payment amount and select the ‘AIB GB Sandbox’ bank for payment completion.
  • Step 4: Authorization will be swiftly finalized upon redirection, confirming a successful payment.

2(b) Simulate a Cancelled payment

Follow the instructions given below.

  • Step 1 Generate a Payment Request using the sandbox access.
  • Step 2 Open the payment URL or scan the QR code URL using your phone’s camera.
  • Step 3 Select “Royal Bank of Scotland” to simulate a cancelled payment.
  • Step 4 Enter the customer number as 123456789012 and input the following PIN: 572,436.
  • Step 5 Click on “Cancel Payment,” and then confirm the action.

2(c) Simulate a Failed Payment

Follow the instructions given below.

Royal Bank of Scotland
  • Step 1: Generate a payment request using the sandbox access.
  • Step 2: Open the payment URL or scan the QR code URL using your phone’s camera.
  • Step 3: Select “Royal Bank of Scotland.”
  • Step 4: Enter the following information: Customer Number: 123456789012 PIN: 572,436
  • Step 5: Add 10 GBP and confirm the payment. This will result in a failed payment outcome.

2(d) Simulate a Pending Payment

Follow the instructions given below.

Modelo Sandbox
  • Step 1: Generate a payment request using the sandbox access.

  • Step 2: Open the payment URL or scan the QR code URL using your phone’s camera.

  • Step 3: Select “Modelo Sandbox”.

  • Step 4: Log in with

    username: mits

    password: mits

  • Step 5: Choose an account and click on confirm payment. This will result in a Pending payment.