
Online payment in Morocco: what are your options for getting paid?
In Morocco, online payment mainly goes through bank cards, most often via the CMI and a contract signed with your bank, and it’s usually combined with cash on delivery, where the customer pays the courier. Bank transfers, payment links sent via WhatsApp and other licensed solutions round out the options depending on your business.
Saturday, 11:40 p.m. In Tangier, a customer comes across a caftan from a Marrakech boutique. She wants to order right away, but hesitates: pay by card, or on delivery? If the boutique clearly offers both, she orders. If she has to write on WhatsApp and wait until Monday, she’ll probably move on.
| Solution | How it works | Best for |
|---|---|---|
| Bank card via the CMI | The customer pays on a secure page, and the money lands in your business account | Stores, bookings, deposits, registrations |
| Cash on delivery | The courier collects payment on delivery, then transfers the amounts to you | First orders, customers wary of card payment |
| Bank transfer | The customer transfers the amount, you deliver once it’s received | Businesses, large amounts, quote-based orders |
| Payment link | You send a link via WhatsApp or email, the customer pays by card | Conversational sales, deposits, made-to-order |
| Other payment institutions | Gateways, mobile wallets or cash payment at a branch, depending on the offer | Rounding out your options, reaching customers without a card |
| International solutions (Stripe, PayPal…) | Limited or conditional availability for a business established in Morocco | To be checked case by case |
How does card payment with the CMI work?
The CMI (Centre monétique interbancaire) is Morocco’s long-established card payment platform, which merchants usually access through their bank. You sign an online payment acceptance contract with the bank, your website is connected to the platform, and the customer pays on a secure page: you never see their card number.
- The customer confirms their cart and chooses “Pay by card.”
- They land on the secure payment page and enter their card details.
- Their bank may ask for confirmation, for example a code received by SMS.
- Once the payment is accepted, your website receives confirmation and the order switches to “paid.”
Requirements vary from bank to bank, but expect to provide:
- a registered business, with its identifiers (commercial register, ICE…) and a business bank account;
- a live website, secured with HTTPS and complete: products or services, prices in dirhams, terms and conditions of sale, delivery, refunds, legal notice, contact details;
- a clear description of your business.
Fees (setup, a commission on each transaction, possibly a subscription) are negotiated with the bank: ask for a written offer and compare. The market is also changing: other licensed players offer payment collection solutions.
Submit your application to your bank at the very start of the project, as reviewing the file takes time. In the meantime, launch with cash on delivery, then switch on card payments as soon as the contract is signed.
Which payment gateway should you choose in Morocco?
A payment gateway is the technical service that connects your website to the bank card network. In Morocco, the usual route is still the CMI through your bank; licensed payment institutions also offer gateways, payment links or mobile wallets. The right choice depends on your bank, your customers and your platform. Ask these questions before you sign:
- Which cards: Moroccan only, or also Visa and Mastercard issued abroad?
- What fees: setup, commission, subscription, refunds?
- How long before the money reaches your account?
- What integration: a ready-made module for your platform, or custom development?
- Who to contact if a payment gets stuck on a Saturday night?
On Shopify, the CMI isn’t a standard payment method: you need a third-party solution, to be checked carefully (see Shopify in Morocco). On a custom website, integration is done directly once the contract is signed; to compare, read WordPress or custom.
Cash on delivery: how do you organize it without losing money?
Cash on delivery reassures customers who hesitate to pay by card, and it remains very widespread in Morocco. Its weak spot is well known: refused or undeliverable parcels, which cost a round trip and bring in nothing. You keep it under control with systematic confirmation before shipping and a few simple rules.
- Confirm every order by phone or WhatsApp before shipping: name, exact address, landmark, time slot.
- Ask for a deposit for made-to-order items (a caftan made to measure, furniture made to order): an item made for one customer is hard to resell.
- Choose a carrier that collects payment, pays out quickly and provides clear tracking; compare specialist companies and Amana’s offers.
- Show delivery fees and times before checkout: unpleasant surprises lead to refused parcels.
- Track your returns by city and by product, so you can adjust: free delivery here, a deposit there.
Example: an online parapharmacy in Casablanca confirms every order on WhatsApp within the hour, offering card payment as the first option and cash on delivery as the second. Its customers have a choice; it stays in control. For the full logistics, see our guide on how to create an online store in Morocco.
Should you offer card payment, cash on delivery, or both?
In most cases, both: cash on delivery reassures new customers, while card payment saves time for regulars, customers in a hurry and those ordering from abroad. Offering only one method means letting some buyers walk away.
| Your business | What works well | Watch out for |
|---|---|---|
| Fashion or cosmetics store | Card or cash on delivery, customer’s choice | Confirmation before shipping |
| Riad or guesthouse in Fez | Card deposit at booking | Clear cancellation terms |
| Private school or nursery | Registration fees by card, transfer or link | Clear receipts and due dates |
| Training or language center | Packages paid online at registration | Written refund policy |
| Made-to-order artisan | Deposit via payment link, balance on delivery | Quote approved in writing |

How do you get paid for an order placed on WhatsApp?
If you sell mainly through WhatsApp or Instagram, a payment link is often enough to get started: you send a secure link, the customer pays by card on their phone, and you receive confirmation. Some banks and payment institutions offer this; compare their terms.
It’s ideal for a deposit (a made-to-measure wedding dress, a photo shoot, a stay), an order placed in a chat, or a quote-based service. To go further, read our guide to selling on Instagram and WhatsApp in Morocco.

Never ask a customer for their card number, their code or a photo of their card, whether on WhatsApp, by phone or in a form. A genuine online payment always takes place on the secure page of the bank or payment provider.
How do you secure online payment on your website?
Secure online payment rests on three pillars: a website on HTTPS, a payment page hosted by the provider (you store no card data), and an order confirmed only after the payment platform sends confirmation to your server.
- HTTPS everywhere, with an up-to-date certificate: the padlock reassures customers, and banks generally require it.
- No card data on your servers or in your files.
- Server-side validation: an order switches to “paid” when the platform has confirmed it, not because the customer reached the “Thank you” page.
- Protected access: a strong password and two-factor authentication on the payment dashboard and the site admin.
- Thorough testing before launch: payment accepted, declined, canceled, refunded.
What rules apply to accepting payments online in Morocco?
Selling and getting paid online in Morocco requires a registered business, clear information for the customer and compliance with two key laws: Law 31-08 on consumer protection and Law 09-08 on personal data. Have your documents reviewed by a legal expert or your accountant.
- Clear prices in dirhams, with delivery fees shown before ordering.
- Terms and conditions of sale: payment, delivery, returns, refunds, cancellation.
- The right of withdrawal provided for by Law 31-08 for distance selling, in principle seven days, with exceptions.
- A legal notice that identifies the business.
- A privacy policy: customers’ names, phone numbers and addresses are protected by Law 09-08, under the supervision of the CNDP.
- Selling in foreign currency? Foreign exchange regulations apply: talk to your bank.
Which mistakes drive buyers away at checkout?
A customer ready to pay can still abandon their order at the last step. The most common causes:
- A single payment method, when your customers expect two.
- Delivery fees discovered at the last step.
- Terms and conditions copied from a foreign website that fit neither your practices nor Moroccan law.
- Waiting for the card payment contract before opening, instead of launching with cash on delivery.
Checklist: is your website ready to take payments?
If every one of these points is checked, you can open with peace of mind:
- Registered business, business bank account open.
- Card payment application submitted to the bank.
- Cash on delivery organized, confirmation before shipping planned.
- Prices, delivery fees and delivery times visible before ordering.
- Terms and conditions, legal notice, return and privacy policies published online.
- HTTPS active, no card data stored, access protected.
- Payments tested: accepted, declined, canceled, refunded.
- Automatic confirmations by email or WhatsApp.
How Digilago can help
Digilago, a Moroccan web agency, builds online stores and booking websites designed for Morocco: cash on delivery, online payment, order tracking, WhatsApp, in French, Arabic and English. The price is confirmed in writing before we start, the first version arrives within 72 hours and, if you don’t like it, you pay nothing. Explore our services, our pricing guide, or start your project.