What you need
- An active Paymob merchant account (sign up at paymob.com)
- Your Paymob API Key, Integration ID, and HMAC Secret
Finding your credentials in Paymob
- Log in to accept.paymob.com.
- API Key: Settings → Account Info.
- Integration ID: Developers → Payment Integrations → select your channel (Card, Wallet, etc.).
- HMAC Secret: Developers → Webhooks.
Connecting in Clinit
- Go to Settings → Payments → Paymob.
- Paste your API Key, Integration ID, and HMAC Secret.
- Click Test Connection — you should see a green ✓.
- Toggle Live Mode on.
- Click Save.
Accepting a payment
- Open a completed appointment or invoice.
- Click Collect Payment → Card / Paymob.
- Enter the amount and click Send Payment Link.
- The patient receives the link on WhatsApp — they tap and pay on Paymob''s hosted page.
- The invoice updates to Paid automatically via webhook.
Supported payment channels
- Visa / Mastercard / Meeza (national debit)
- Mobile wallets: Vodafone Cash, Orange Money, Etisalat Cash
- Fawry (over-the-counter)
- ValU and Sympl (instalment financing)
- InstaPay
Troubleshooting
"Test connection failed" — Check for spaces before or after your API key.
Webhook not updating the invoice — In Paymob''s developer settings, add the Clinit webhook URL: https://doctor.clinit.app/api/clinic/billing/paymob/callback.