payment.php
<?php
use PayCentral\PayCentral;

$pc = PayCentral::init('sk_live_xxxx');

$session = $pc->checkout([
    'amount'      => 5000,
    'currency'    => 'XAF',
    'description' => 'Commande #1234',
    'success_url' => 'https://monsite.cm/merci',
]);

header('Location: ' . $session->checkout_url);

M
MTN MoMo
O
Orange Money
A
Airtel Money
M
Moov Money
V
Visa / Mastercard
6
5
99.9%
Uptime
<2s

Airtel Money SIMULATION

• • • |

…0000
…1111
…2222
…3333
autre
curl
# Simuler un paiement Airtel Money : validation manuelle (…3333)
curl -X POST https://api-paycentral.gabondunumerique.com/api/v1/payment/initiate \
  -H "X-Api-Key: sk_sandbox_xxxx" \
  -H "Content-Type: application/json" \
  -d '{"amount": 5000, "currency": "XAF", "phone": "+24107123333"}'

M
MTN
O
Orange
A
Airtel
M
Moov
V
Visa/MC
🇨🇲 Cameroun✓✓——✓
🇨🇬 Congo-Brazzaville✓✓✓—✓
🇬🇦 Gabon——✓✓✓
🇹🇩 Tchad—✓✓✓✓
🇨🇫 —✓✓—✓
🇬🇶 ✓✓——✓

1

2

$ composer require paycentral/sdk-php
3

  • ✓
  • ✓
  • ✓
  • ✓
Pro
5 000XAF
/
  • ✓
  • ✓
  • ✓
  • ✓
  • ✓
  • ✓

25 000XAF
/
  • ✓
  • ✓
  • ✓
  • ✓