Testing

Learn how to test your integration.

Test mode

Test mode allows you to work with test credit cards and mobile money numbers, create test products and prices, and simulate transactions to ensure your integration functions as expected. This feature is designed to help you detect and resolve any bugs or issues in your PayChangu implementation before going live with real payments.

Once you’ve created a PayChangu account, you’ll find a set of test API keys in your PayChangu Dashboard setting page. These keys allow you to generate and retrieve simulated data by interacting with the PayChangu API. To begin accepting real payments, you’ll need to submit your compliance to activate your account, switch off test mode, and update your integration with live API keys.

Test Cards

To simulate a payment via card, use test cards from the following list.

BrandCard NumberTypeCVCDate
VISA42424242424242423DS SUCCESS12312/30
VISA40000000000032203DS TIMEOUT12312/30
VISA40000000000099953DS INSUFFICIENT12312/30
VISA40000000000000023DS DECLINED12312/30
MASTERCARD55555555555544443DS SUCCESS12312/30
MASTERCARD52000000000000083DS ERROR12312/30

OTPs

For 3DS, use the following OTP: 1234

Mobile Money Test Number

ProviderMobile Number( Without 0 )Type
Airtel Money990000000SUCCESS
Airtel Money990000001FAILED
TNM Mpamba899817565SUCCESS
TNM Mpamba899817566FAILED