End to End Testing

We deliver a comprehensive sandbox staging environment for our merchants to use while building up their integration. You can use our given set of test cards to ensure the capability of your integration in dealing with different payment processing use cases.

Introduction

For the sake of our merchants convenience and to ensure the integrity of every merchant's integration with OPay, we provide a comprehensive sandbox staging environment. You may use OPay staging environment while building up your integration or if you may 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 staging environment, and not in live environment. Similarly, you cannot use a real card while your site is in staging environment.

Check Payment Result at OPay Dashboard

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

Card Schemes

Card typeNumberCVVExpiry DateDescription
Visa4508 7500 1574 101910005/99This card will always return successful payment
Visa4012 0000 3333 002610005/99This card will always return successful payment
Visa4012 0000 3333 112310005/99This card will always return pending payment
Mastercard5123 4500 0000 000810005/99This card will always return successful payment
Mastercard2223 0000 0000 000710005/21This card will always return failure due to invalid expiry date
Mastercard5111 1111 1111 111810005/99This card will always return failure due to insufficient fund
Mastercard2223 0000 0000 002310005/99This card will be accepted for any amount between 0 and 100 transactions, otherwise, it will be rejected.
Meeza5078 0300 1111 000712301/99This card will always return successful payment
Meeza5078 0300 2222 000112301/21This card will always return failure due to invalid expiry date
Meeza5078 0300 3333 000512301/99This card will always return failure due to insufficient fund

Bank Installment

CARD TYPENUMBERCVVEXPIRY DATEDESCRIPTION
MasterCard5393 9900 0000 000610005/99This card will always return successful payment
MasterCard5441 1100 0000 000310005/99This card will always return failure payment due to invalid expiry date

Mobile Wallet

WALLET ACCOUNTDESCRIPTION
01066668888This wallet account will always return successful payment, the callback will be sent automatically after 1 minute
01077779999This wallet account will always return failure payment, the callback will be sent automatically after 1 minute

ValU Installment

ValU ACCOUNTOTPDESCRIPTION
01066668888123456This ValU account and OTP will always return successful payment
01066668888111111This ValU account and OTP will always return failure payment
01066668888222222This ValU account and OTP will always return invalid OTP or pending status

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.