Guide, 9 min read

Online payment in Morocco:get paid easily, without losing sales.

Bank card via the CMI, cash on delivery, bank transfer, payment link: how each option works, what it requires, and how to combine them to sell online in Morocco.

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.

SolutionHow it worksBest for
Bank card via the CMIThe customer pays on a secure page, and the money lands in your business accountStores, bookings, deposits, registrations
Cash on deliveryThe courier collects payment on delivery, then transfers the amounts to youFirst orders, customers wary of card payment
Bank transferThe customer transfers the amount, you deliver once it’s receivedBusinesses, large amounts, quote-based orders
Payment linkYou send a link via WhatsApp or email, the customer pays by cardConversational sales, deposits, made-to-order
Other payment institutionsGateways, mobile wallets or cash payment at a branch, depending on the offerRounding out your options, reaching customers without a card
International solutions (Stripe, PayPal…)Limited or conditional availability for a business established in MoroccoTo 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.

  1. The customer confirms their cart and chooses “Pay by card.”
  2. They land on the secure payment page and enter their card details.
  3. Their bank may ask for confirmation, for example a code received by SMS.
  4. 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.

  1. Confirm every order by phone or WhatsApp before shipping: name, exact address, landmark, time slot.
  2. 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.
  3. Choose a carrier that collects payment, pays out quickly and provides clear tracking; compare specialist companies and Amana’s offers.
  4. Show delivery fees and times before checkout: unpleasant surprises lead to refused parcels.
  5. 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 businessWhat works wellWatch out for
Fashion or cosmetics storeCard or cash on delivery, customer’s choiceConfirmation before shipping
Riad or guesthouse in FezCard deposit at bookingClear cancellation terms
Private school or nurseryRegistration fees by card, transfer or linkClear receipts and due dates
Training or language centerPackages paid online at registrationWritten refund policy
Made-to-order artisanDeposit via payment link, balance on deliveryQuote approved in writing
Example of a language center website showing its courses and packages with their prices
Example of a language center website (template): clear packages, easy to pay online at registration.

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.

Example of a pet boarding website with its services, gallery and contact form
Example of a pet boarding website (template): for a booking-based service, an online deposit cuts down on no-show bookings.

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.

Questions

In short,the answers.

How do you accept card payments on your website in Morocco?

You need a registered business, a business bank account and an online payment acceptance contract with your bank, which most often goes through the CMI. Your website is then connected to the payment platform, and your customers pay on a secure page. The site must use HTTPS and display terms and conditions of sale, a legal notice and a refund policy.

What is the CMI?

The CMI, or Centre monétique interbancaire, is Morocco’s long-established platform for processing card payments. Merchants usually access it through their bank by signing an online payment acceptance contract. The customer then pays on a secure page, without the merchant ever seeing their card details.

How much does online payment with the CMI cost?

Fees depend on your bank and your contract: setup, a commission on each transaction, sometimes a subscription. Ask for a detailed written offer, and compare before signing. Also budget for the technical integration on your website.

Is cash on delivery still useful in Morocco?

Yes, it remains very widespread and reassures customers who hesitate to pay by card, especially for a first order. To limit refused parcels, confirm every order by phone or WhatsApp before shipping, and ask for a deposit on made-to-order items. Ideally, offer it alongside card payment.

Can you use Stripe or PayPal in Morocco?

For a business established in Morocco, Stripe and PayPal availability is limited or subject to conditions, and it may change. Check directly with these services what is possible in your case. To accept Moroccan cards, the usual route is still the CMI through your bank.

Can you accept payments online without a website?

Partly: some banks and payment institutions offer payment links you can send via WhatsApp, and cash on delivery doesn’t require a website. But a website with a catalog, prices and terms of sale is more reassuring, and it is generally required for an online payment contract.

How much does an online store with card payment cost in Morocco?

As a rough guide, an online store with a catalog, CMI or cash-on-delivery payment and order management costs about 15,000 to 60,000 MAD in Morocco. On top of that come payment contract fees, delivery, hosting and maintenance. Always ask for a detailed written quote.

By sector

The same advice,sector by sector.

All guidesFAQWho writes these guides?

Further reading

Another guideto keep moving forward.

Same-day reply

Ready to take action?
First version in 72 hours.

Leave your number: someone from our team will call you back today, free of charge and with no commitment.

Year-end: your custom website for 4,999 MAD incl. VAT, all included, anywhere in Morocco, until December 31.See the offer
We’ll call you backMonday to Saturday, 9:00 to 19:00 · free
Got it, thank you!We’ll call you back today.