How can I test Bill Payments in Localhost
Updated 2 weeks ago
How to mock bill payments in testing mode
Setting up your local environment is important for mocking your bill payments. We covered the basics of setting up your local environment here.
Here are additional tips to help you mock bill payments locally:
Only test supported payments, some payments are not available in all regions.
Use custom data and testing helpers to mock your payments.
Ensure you include the country code in your request's mobile number (e.g. +234 for Nigerian numbers).
Check that mobile numbers include recognizable telecommunication provider codes (e.g. +234803XXX, +234901XXX, +234816XXX, etc.).
In the unlikely event that an error occurs, ensure that you implement effective error handling as well as useful next steps for your users to resolve the payment errors in the bill payment flow.
Reconcile users' payments using the bill summary and bill history APIs before closing the transactions.
If you encounter any issues with your tests, contact our support team for additional assistance.
Nous aimerions avoir de vos nouvelles
Suggérer le type d'articles d'assistance que vous aimeriez voir
Encore besoin d'aide?
Entrer en contact si vous avez d'autres questions qui n'ont pas été répondues ici