End to End Testing
We deliver a comprehensive sandbox staging environment for our merchants to use while completing their integration. You can use any of our test cards shared below to ensure your integration is able to deal with different payment processing use cases.
Introduction
For the sake of our merchant's convenience and to ensure the integrity of every merchant's integration
with OPay, we provide a comprehensive sandbox staging environment. You may use our staging environment while your integration is ongoing
or if you wish to explore OPay's newly added features. You will have the capability to simulate purchases
using your own OPay integration in staging mode. This allows you to ensure the integrity of your integration logic before
you switch into production mode without having to make real purchases.
We provide a set of cards where you can test different payment
use cases. Note that you can only use these cards for testing within your OPay account and not for real purchases.
Similarly, genuine card numbers will not be recognized within your staging environment.
To simulate payments, use any of the following test card details provided in the table below.
Note: Test cards only work in the staging environment and not in the live environment. Similarly, you cannot use a real card while your site is in the staging environment.
You can always check the result of any testing payment in your OPay Dashboard by checking reports and orders.
Card Schemes
Number | Expiry Month | Expiry Year | cvv | Pin | otp | Test Case | Status |
---|---|---|---|---|---|---|---|
5061 4604 1012 1111 101 | 12 | 25 | 557 | 1102 | 543210 | Pin | PENDING |
5061 4604 1012 1111 102 | 12 | 25 | 558 | 1103 | 543210 | Pin+OTP | PENDING |
5061 4604 1012 1111 103 | 12 | 25 | 559 | 1107 | 543210 | Pin+3DS | PENDING |
5061 4604 1012 1111 104 | 12 | 25 | 560 | 1104 | 543210 | Pin | SUCCESS |
5061 4604 1012 1111 105 | 12 | 25 | 561 | 1105 | 543210 | Pin+OTP | SUCCESS |
5061 4604 1012 1111 106 | 12 | 25 | 562 | 1106 | 543210 | Pin+3DS | SUCCESS |
5061 4604 1012 1111 107 | 12 | 25 | 563 | 1107 | 123456 | Pin | FAIL |
5061 4604 1012 1111 108 | 12 | 25 | 564 | 1108 | 245678 | Pin+OTP | FAIL |
5061 4604 1012 1111 109 | 12 | 25 | 565 | 1109 | 456789 | Pin+3ds | FAIL |
5061 4604 1012 1111 110 | 12 | 25 | 566 | 1110 | 234567 | No auth | |
5061 4604 1012 1111 111 | 12 | 25 | 567 | 1111 | 334455 | Insufficient balance | |
5061 4604 1012 1111 112 | 3 | 21 | 568 | 1111 | 334455 | Expired card | |
4508 7500 15741 019(USD) | 12 | 25 | 100 | 3DS | SUCCESS | ||
4012 0000 3333 0026(USD) | 12 | 25 | 100 | 3DS | SUCCESS | ||
5123 4500 0000 0008(USD) | 12 | 25 | 100 | 3DS | SUCCESS | ||
2223 0000 0000 0007(USD) | 12 | 25 | 100 | 3DS | FAIL | ||
5111 1111 1111 1118(USD) | 12 | 25 | 100 | 3DS | FAIL | ||
2223 0000 0000 0007(USD) | 12 | 25 | 100 | 3DS | FAIL | ||
5061 4604 1012 1111 103(USD) | 12 | 25 | 100 | 1107 | 3DS | PENDING |
BankAccount
Bank Code | Account Number | Phone number | Dob | BVN | OTP | Test Case | Description |
---|---|---|---|---|---|---|---|
033 | 2215381176 | 0000000000 | 05-01-1990 | 123456789 | 11315632 | OTP | This account will always return successful payment. |
033 | 2215381190 | 0000000000 | 05-01-1990 | 123456789 | 11315632 | OTP | This account will always return failure payment. |
OpayWallet
Phone Number | PIN | OTP | Description |
---|---|---|---|
1259257649 | 123456 | 315632 | This the phone number will always return successful payment |
1259257649 | 123456 | 315633 | This the phone number will always return failed payment |
Transaction Amount | Action | Description |
---|---|---|
30 NGN | Generate QR Code | This transaction amount will always return successful payment |
20 NGN | Generate QR Code | This transaction amount will always return pending payment |
10 NGN | Generate QR Code | This transaction amount will always return failure payment |
BankUssd
Amount | Description |
---|---|
1300 Kobo | This amount will always return successful payment |
1400 Kobo | This amount will always return failed payment |
BankTransfer
Amount | Description |
---|---|
2300 Kobo | This amount will always return successful payment |
2400 Kobo | This amount will always return failed payment |