What Is CMI?
CMI (Centre Monetique Interbancaire) is the card payment platform behind online payments in Morocco. It was created by the Moroccan banks, and most Moroccan online stores take card payments through it. Customers pay on CMI's own secure page, with 3-D Secure verification from their bank.
How It Works for Your Customers
- The customer chooses CMI at checkout.
- They are taken to the secure CMI payment page, in Arabic, French or English, and enter their card details there.
- Their bank may ask them to confirm the payment (3-D Secure).
- CMI sends them back to your store, and the order is marked as paid once CMI confirms the payment.
Customers can pay with Moroccan bank cards and with international Visa and Mastercard cards.
Currencies
Payments are made in Moroccan dirhams (MAD). If your store sells in another currency, Trinavo converts the order total into dirhams using your store's exchange rates, so make sure your store has a rate for the Moroccan dirham.
Integration with Trinavo
CMI is built into Trinavo's payment methods, so there is nothing to install and no code to write. You connect your own CMI merchant account, and the money goes to your own account.
The integration covers:
- Checkout: CMI appears as a payment option at your checkout.
- Payment confirmation: every answer from CMI is checked with your store key before an order is marked as paid, and Trinavo tells CMI to capture the payment once it is confirmed.
- No webhook setup: every payment carries its own secure notification address, so there is nothing to copy into the CMI back office.
- Test mode: try the whole payment flow on the CMI test platform before taking real payments.
- Refunds: refunds are made from your CMI merchant back office.
Getting Started
- Get a CMI e-commerce contract: ask your bank, or CMI directly, for an online payment (e-commerce) merchant account. Once your store is activated you receive your client ID and access to the CMI back office.
- Set your store key: in the CMI back office, set the store key that signs your payments.
- Add them to Trinavo: in your dashboard, open Payment Methods, choose CMI, and enter your client ID and store key. Keep test mode on until you have tried a test payment, then switch it off with your live details.