The verdict in three sentences
For a retailer in Rabat launching online sales, CMI integration is unavoidable: it is the gateway that accepts CMI, Visa and Mastercard cards issued in Morocco. Budget 15,000 to 40,000 MAD excl. VAT (about 1,400 to 3,700 EUR) for integration, 1.5 to 3% commission per transaction and 2 to 4 weeks of certification testing before going live. The real profitability lever is not the commission, it is reducing cash on delivery, which still accounts for roughly 60% of orders and is expensive in returns and unpaid parcels.
What a CMI integration really costs in 2026
The Centre Monétique Interbancaire provides the merchant contract through your bank (Attijariwafa, BMCE Bank of Africa, Banque Populaire, CIH...) and a hosted 3D Secure payment page. The agency's job is to connect your checkout to this page, handle the payment callback (signed with a hash), update order statuses and pass the acceptance tests CMI requires.
| Item | 2026 range (estimate) | Comment |
|---|---|---|
| Merchant onboarding fee (bank) | 1,000 to 5,000 MAD | Varies by bank, sometimes waived |
| Integration on WooCommerce or PrestaShop (existing plugin) | 15,000 to 22,000 MAD excl. VAT | Setup, testing, go-live |
| Integration on a custom site (Next.js, Laravel) | 25,000 to 40,000 MAD excl. VAT | Callback, hash, status handling |
| Card transaction commission | 1.5 to 3% | Negotiable above 500,000 MAD/year |
| Monthly virtual terminal fee | 0 to 300 MAD | Depends on the bank contract |
| CMI certification testing | 2 to 4 weeks | Test environment then validation |
| Annual maintenance | 3,000 to 8,000 MAD excl. VAT | Updates, failure monitoring |
The most underestimated cost is time. The bank file (commercial register, ICE number, terms of sale and refund policy visible on the site) often takes one to two weeks before the test environment is even opened. Plan 5 to 7 weeks between signing and the first real payment.
CMI, cash on delivery and alternatives: comparing cost per order
Cash on delivery reassures Moroccan shoppers, but it generates doorstep refusals (often 15 to 25% of parcels), return fees and cash held by the courier for 7 to 15 days. The table below compares the full cost for an average basket of 450 MAD (about 42 EUR).
| Payment method | Cost per order (450 MAD basket) | Refusal or failure rate | Settlement delay |
|---|---|---|---|
| Card via CMI (2%) | 9 MAD | 3 to 8% 3D Secure failures | D+1 to D+3 |
| Cash on delivery | 25 to 40 MAD (courier fees) | 15 to 25% refusals | D+7 to D+15 |
| Bank transfer | 0 to 5 MAD | High abandonment, 30% and more | D+1 to D+2 |
| Mobile wallet (CIH Pay, Orange Money Morocco) | 1 to 2% | 5 to 10% | D+1 to D+2 |
| International gateway (Stripe not available locally) | Not applicable for Moroccan cards | Not applicable | Not applicable |
| CMI payment link sent via WhatsApp | 9 MAD + sales time | 5 to 10% | D+1 to D+3 |
A realistic first-year goal is not to eliminate cash on delivery but to bring it from 60% down to 40% of orders. Three levers work well: a 3 to 5% discount for card payment, free shipping above a threshold reserved for online payment, and a mobile checkout that shows the 3D Secure form without a confusing redirect.
Conversion impact and technical points to require
A sloppy integration loses more than the commission. 3D Secure failures, payment pages that are not mobile friendly and orders stuck as pending because of an unreliable callback easily cost 1 to 2 conversion points. Require from your vendor:
- server-side verification of the return hash, never in the browser;
- automatic daily reconciliation between orders and the CMI statement;
- automatic email or WhatsApp follow-up of failed payments within 30 minutes;
- clear display of CMI, Visa and Mastercard logos and the refund policy, required for certification;
- a dashboard of failure rates by issuing bank.
Mini case study
Need a professional website?
Kolonell builds websites that attract clients, optimized for the Sénégalese market. Free quote in 2 minutes.
Nadia, e-commerce director of a ready-to-wear retailer in Rabat, processes 1,200 orders per month with an average basket of 450 MAD, or 540,000 MAD (about 50,000 EUR) in monthly revenue. Today, 60% of orders are cash on delivery with 20% refusals. Each refusal costs her about 60 MAD (outbound, return, handling): 720 orders x 20% x 60 MAD = 8,640 MAD per month.
After a custom CMI integration at 32,000 MAD excl. VAT and a 4% discount for card payment, the cash on delivery share falls to 40%. Refusals drop to 480 x 20% = 96 parcels, or 5,760 MAD. The added card cost is 720 orders x 9 MAD = 6,480 MAD, plus about 13,000 MAD in discounts. The direct gain looks small, but mobile conversion rises from 1.2% to 1.5%, roughly 300 extra orders per month and 135,000 MAD in additional revenue. The investment pays back in under two months.
FAQ
How long does it take to activate CMI payments?
Plan 5 to 7 weeks in total: one to two weeks for the bank file, one week of integration and 2 to 4 weeks of certification testing. A site that is already compliant (terms of sale, legal notice, refund policy) often saves a week.
Is the CMI commission negotiable?
Yes, the 1.5 to 3% commission depends on your bank and your volume. Above 500,000 MAD in annual transactions, a reduction of 0.3 to 0.5 point is common.
Can CMI be integrated with Shopify?
Shopify does not offer CMI natively. You need a paid third-party app (about 20 to 50 USD per month) or a store on WooCommerce, PrestaShop or a custom build.
Does CMI accept foreign cards?
Yes, Visa and Mastercard cards issued abroad are accepted, often with a higher commission of about 2.5 to 3.5%. This is useful for sales to the Moroccan diaspora.
Should cash on delivery be kept?
Yes in the first year: removing it abruptly can cut sales by 30% or more. It is better to frame it with a deposit, a basket threshold or a 15 to 25 MAD fee.
Let's scope your project. We scope your CMI integration (existing or custom site, indicative budget 15,000 to 40,000 MAD excl. VAT, live in 5 to 7 weeks). Detailed quote within 48 h. WhatsApp +221 77 596 93 33.
Mohamed Bah
Fondateur, Kolonell
Passionate about digital and entrepreneurship in Africa, Mohamed has been helping Sénégalese businesses with their digital transformation since 2020. Founder of Kolonell, he believes every SME deserves a professional and accessible online présence.

