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.

Warning

Warning

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.

Note

Note

You can always check the result of any testing payment in your OPay Dashboard by checking reports and orders.

Card Schemes

NumberExpiry MonthExpiry YearcvvPinotpTest CaseStatus
5061 4604 1012 1111 10112995571102543210PinPENDING
5061 4604 1012 1111 10212995581103543210Pin+OTPPENDING
5061 4604 1012 1111 10312995591107543210Pin+3DSPENDING
5061 4604 1012 1111 10412995601104543210PinSUCCESS
5061 4604 1012 1111 10512995611105543210Pin+OTPSUCCESS
5061 4604 1012 1111 10612995621106543210Pin+3DSSUCCESS
5061 4604 1012 1111 10712995631107123456PinFAIL
5061 4604 1012 1111 10812995641108245678Pin+OTPFAIL
5061 4604 1012 1111 10912995651109456789Pin+3dsFAIL
5061 4604 1012 1111 11012995661110234567No auth
5061 4604 1012 1111 11112995671111334455Insufficient balance
5061 4604 1012 1111 1123215681111334455Expired card
4508 7500 15741 019(USD)12991003DSSUCCESS
4012 0000 3333 0026(USD)12991003DSSUCCESS
5123 4500 0000 0008(USD)12991003DSSUCCESS
2223 0000 0000 0007(USD)12991003DSFAIL
5111 1111 1111 1118(USD)12991003DSFAIL
2223 0000 0000 0007(USD)12991003DSFAIL
5061 4604 1012 1111 103(USD)129910011073DSPENDING

BankAccount

Bank CodeAccount NumberPhone numberDobBVNOTPTest CaseDescription
0332215381184000000000005-01-1990123456789-3DSThis account will always return successful payment.
0332215381176000000000005-01-199012345678911315632OTPThis account will always return successful payment.
0332215381190000000000005-01-199012345678911315632OTPThis account will always return failure payment.

OpayWallet

Phone NumberPINOTPDescription
1259257649123456315632This the phone number will always return successful payment
1259257649123456315633This the phone number will always return failed payment
Transaction AmountActionDescription
30 NGNGenerate QR CodeThis transaction amount will always return successful payment
20 NGNGenerate QR CodeThis transaction amount will always return pending payment
10 NGNGenerate QR CodeThis transaction amount will always return failure payment

BankUssd

AmountDescription
1300 KoboThis amount will always return successful payment
1400 KoboThis amount will always return failed payment

BankTransfer

AmountDescription
2300 KoboThis amount will always return successful payment
2400 KoboThis amount will always return failed payment

OPay Now

OPay Now Payin Verification

Please select Y or N on the mock page to test successful and failed transactions.

-->

Reference Code

Reference Code Payin Verification

You can verify the 9 digits code for Reference Code Payin. After verification, you will receive a callback notification.

-->