Covered countries
| Country | Code | Currency |
|---|---|---|
| Côte d’Ivoire | CI | XOF |
URLs
| Type | URL |
|---|---|
| Dev portal | developer.orange.com |
| OAuth token | https://api.orange.com/oauth/v3/token |
| Webpay | https://api.orange.com/orange-money-webpay/dev/v1/webpayment |
| USSD client | *144# |
Required credentials
Enter these in Settings → Stores → Orange:| Field | Type | Description |
|---|---|---|
client_id | text | OAuth client ID for your Orange Developer application. |
client_secret | password | Associated OAuth secret. |
merchant_key | text | Merchant key provided by Orange after Webpay activation. |
Specifics
- OAuth client_credentials: Orange requires a
grant_type=client_credentialsflow with anapplication/x-www-form-urlencodedbody (not JSON). SandPay handles this via the sharedoauthClientCredentialshelper. - Authentication combines Basic auth (
client_id:client_secretin base64) on the token endpoint, then Bearer on Webpay calls. - Webpay response:
pay_token(string) andpayment_url(string). SandPay storespay_tokenasprovider_tx_id. - Webpay is a redirect-based flow: SandPay simulates this journey — the user would normally be redirected to
payment_urlto enter their PIN. - Return callbacks (
return_url,cancel_url,notif_url) point tosandpay.dev/orange/*on the sandbox side. - The
lang: "fr"field is forced for francophone markets.