CMI
Online Gateways

CMI

Moroccan card payments: customers pay with Moroccan or international Visa and Mastercard cards on the secure CMI payment page, in Moroccan dirhams.

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

  1. The customer chooses CMI at checkout.
  2. They are taken to the secure CMI payment page, in Arabic, French or English, and enter their card details there.
  3. Their bank may ask them to confirm the payment (3-D Secure).
  4. 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

  1. 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.
  2. Set your store key: in the CMI back office, set the store key that signs your payments.
  3. 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.

Ready to get started?

Start your free store today and offer your customers flexible payment options.

Get Started Free

Quick Info

Supported Regions

Currencies

MAD

Related Payment Methods

Stripe

Stripe

Global payment gateway supporting cards, Apple Pay, Google Pay, and Link for businesses in 44 countries

HyperPay

HyperPay

Leading payment gateway serving the Middle East and North Africa region

Paymob

Paymob

Payment gateway powering e-commerce across Egypt, Saudi Arabia, UAE, and Oman

Start Free Trial