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.
Brand | Card Number | Type | CVC | Date |
---|---|---|---|---|
VISA | 4242424242424242 | 3DS SUCCESS | 123 | 12/30 |
VISA | 4000000000003220 | 3DS TIMEOUT | 123 | 12/30 |
VISA | 4000000000009995 | 3DS INSUFFICIENT | 123 | 12/30 |
VISA | 4000000000000002 | 3DS DECLINED | 123 | 12/30 |
MASTERCARD | 5555555555554444 | 3DS SUCCESS | 123 | 12/30 |
MASTERCARD | 5200000000000008 | 3DS ERROR | 123 | 12/30 |
OTPs
For 3DS, use the following OTP: 1234
Mobile Money Test Number
Provider | Mobile Number( Without 0 ) | Type |
---|---|---|
Airtel Money | 990000000 | SUCCESS |
Airtel Money | 990000001 | FAILED |
TNM Mpamba | 899817565 | SUCCESS |
TNM Mpamba | 899817566 | FAILED |
Updated 16 days ago