Sandbox Setup
Use sandbox credentials
Get your
client-id and client-secret from Settings -> API Keys/Webhooks in sandbox-app.payfonte.com.What To Validate Before Go-Live
Auth and Headers
Confirm all requests include
client-id and client-secret.Amount Format
Confirm you send integer minor-unit values only. Decimals are not supported.
Status Lifecycle
Validate pending/processing to final states (
success or failed) in your business flow.Webhook Handling
Verify signature validation, retries, idempotency, and response timing.
Core Test Scenarios
| Scenario | Expected Result |
|---|---|
| Valid charge request | 201 response with transaction reference |
| Invalid credentials | Authentication failure (401/403) |
| Decimal amount sent | Validation/provider failure |
| Duplicate reference | 409 with DuplicateTransactionReference |
| Invalid provider slug | Error with InvalidProvider |
| Webhook delivery | Callback received and processed once (idempotent) |
Simulate Success, Failed, and Pending Outcomes
For both collections and disbursements in sandbox, you can control the expected transaction outcome by changing the mobile money phone number used in the request.| Phone Number Pattern | Expected Result | How To Use It |
|---|---|---|
| Any other phone number | success | Sandbox treats all other phone numbers as successful transactions |
Number ending in 000000 | failed | Sandbox forces the transaction to fail |
Number ending in 111111 | pending | Sandbox keeps the transaction pending so you can test async handling |
Apply this rule to the phone number field you send for the transaction. For collections, use the customer’s mobile money number. For disbursements, use the recipient phone number.
success or failed.
Provider-Specific Test Data
Orange Ivory Coast OTP simulator
Orange Ivory Coast OTP simulator
For Orange Ivory Coast testing on Payfonte:
- Open https://mpayment.orange-money.com/mpayment-otp/login
- Sign in with:
- Username:
7701901040 - Password:
MerchantWP01040
- Username:
- Generate OTP with:
- Phone Number:
7701101040(usually pre-loaded) - PIN:
1791
- Phone Number:
- Use the generated OTP on the payment platform.
Safaricom / Equitel / T-Kash / Telkom
Safaricom / Equitel / T-Kash / Telkom
- Success example:
254700123456 - Failed example:
254700000000 - Pending example:
254711111111
Airtel / Telecel / MTN (Ghana)
Airtel / Telecel / MTN (Ghana)
- Success example:
233242426222 - Failed example:
233240000000 - Pending example:
233241111111
Quick Sandbox Request
Related Docs
Environments
Sandbox and production URLs and credential setup.
Webhooks
Verify callback payloads and signature handling.
Error Codes
Troubleshoot failed test requests quickly.