- Morocco
- Payments
- Next.js
Stripe in Morocco: why it doesn't work, and how to get paid online instead
Stripe doesn't work in Morocco. How Moroccan businesses get paid online instead: Moroccan cards through their bank, transfer or agency, and Stripe only with a company abroad.
On this page
- Does Stripe work in Morocco? Why Stripe in Morocco is a no
- What about opening a company abroad (an LLC) to use Stripe in Morocco?
- What changed in Morocco's payment market
- Online payments in Morocco are still small, and that's the opportunity
- How to get paid online in Morocco: the 3 routes that work
- How a card payment works on your website
- Real examples: platforms with Moroccan payments
- Want to sell online in Morocco?
- Frequently asked questions

Key takeaways
- Morocco isn't on Stripe's list of supported countries, so a company based in Morocco can't open a Stripe account.
- To take Moroccan cards online, you go through your bank or a payment company; since May 2025 new acquirers sign up merchants alongside the banks.
- A good Moroccan checkout offers Moroccan cards plus bank transfer or a cash agency with a receipt, and Stripe only for foreign customers with a company abroad.
- Out of 72,256 merchants enrolled in 2025, only 3,847 sold online, by Bank Al-Maghrib's figures.
Stripe in Morocco isn't an option: Morocco isn't on Stripe's list of supported countries, so a company based in Morocco can't open a Stripe account. Moroccan businesses get paid online with Moroccan cards through their bank or a payment company, plus bank transfer or a cash agency, and use Stripe only with a company registered abroad.
Here's how each route works, what changed in Morocco's payment market since 2025, and how I set it up on real platforms.
Does Stripe work in Morocco? Why Stripe in Morocco is a no#
No. You start a shop or an online course, someone tells you "just use Stripe", you open the sign-up page and look for Morocco in the country list. It isn't there, and that's the whole story of Stripe in Morocco today.
Stripe's global availability page lists the countries where a business can use it. In Africa there are only 5: Côte d'Ivoire, Ghana, Kenya, Nigeria and South Africa. To use Stripe, you need a company registered in one of the countries on that list.

No Stripe in Morocco doesn't mean your Moroccan customers can't pay online. It means the answer for Morocco is a different tool, and for most businesses here it's a better fit anyway: your customers pay with Moroccan cards, in dirhams.
What about opening a company abroad (an LLC) to use Stripe in Morocco?#
That's the trick you'll see on YouTube: open a company in the United States, an LLC, and open Stripe with it. It can work, and some freelancers who sell abroad use it.
But that company has its own taxes, its own paperwork and the laws of its own country, on top of your situation in Morocco. I'm a developer, not an accountant: talk to an accountant before you open anything. And if your customers are in Morocco, a company abroad solves the wrong problem. They pay with Moroccan cards, and the natural answer is a payment page that takes Moroccan cards in dirhams.
What changed in Morocco's payment market#
This is the news many business owners missed. Since 2004, CMI (Centre Monétique Interbancaire), founded by 9 Moroccan banks, was the company that signed merchants up to take card payments, in shops and online.
That has changed. According to CMI's own director, in a December 2025 interview:
- From 1 November 2024, commitments that end CMI's monopoly took effect, in a framework set by the Competition Council and Bank Al-Maghrib.
- From 1 May 2025, new companies (called acquirers) started signing up merchants. Seven are named: Al Filahi Cash, Attijari Payment, CDM Pay, Damane Cash, Lanacash, M2T and Saham Paiements.
- CMI's merchant contracts were moved to these companies, and CMI became, in its own words, a neutral technical platform that processes card payments for them. The transfer was finalised in April 2026.
And the market grew: there were about 10 acquirers at the end of 2025, against 3 in 2024, by Bank Al-Maghrib's figures reported by Aujourd'hui le Maroc. In practice, to take cards on your website today, you go through your bank or one of these payment companies.
Online payments in Morocco are still small, and that's the opportunity#
The same Bank Al-Maghrib figures show how much room there is:
| Figure (2025) | Value |
|---|---|
| Merchants enrolled | 72,256 |
| Of which e-merchants (online) | 3,847 |
| Card payments in shops | 93.4 billion dirhams |
| Online payments | 12.1 billion dirhams (11 billion in 2024) |
| Bank cards in Morocco | 22.6 million |
Read the second line again: out of 72,256 merchants, 3,847 take payments online. People have the cards, 22.6 million of them, but few places let them pay online. If your competitors still ask customers to send a transfer on WhatsApp, a clean checkout is an easy way to stand out.

How to get paid online in Morocco: the 3 routes that work#
On the platforms I've built for Moroccan businesses, three routes come up, and the best checkouts offer more than one:
- Moroccan cards. You sign a contract with your bank or a payment company, and your website sends customers to a secure payment page where they pay in dirhams with 3-D Secure (the code sent to their phone). This is the main route if your customers live in Morocco.
- Bank transfer or a cash agency. For customers who don't pay by card online. They get a payment reference and the instructions, pay by transfer or at an agency such as Wafacash or Cash Plus, and upload the receipt. Your team checks it and approves the order.
- Stripe, for foreign cards. Only if you have a company registered in a country Stripe supports, and mostly useful when your customers live abroad.
Which one first, without Stripe in Morocco? If your customers are in Morocco, start with Moroccan cards and bank transfer. If they're abroad, that's where Stripe fits, with a company abroad and an accountant. If you have both, offer all three in one checkout. I go deeper into the course-platform case in how to sell courses online in Morocco.
How a card payment works on your website#
Whatever the payment company, a card payment on a Moroccan website works the same way under the hood. This is how I build it:
- Your server creates the order and saves it as unpaid.
- It signs the payment form: the parameters are sorted, joined and hashed with SHA-512 using your store key, so nobody can change the amount on the way.
- The customer pays on the bank's payment page, in dirhams, with 3-D Secure. The page can show in Arabic, French or English.
- The payment platform calls your server back. Your server checks the signature and the amount, and only then marks the order paid.

One mistake I see often: trusting the moment the customer comes back to your site. Many people close the tab right after paying. The callback from the payment platform arrives anyway, so that's what should confirm the order, once, even if it arrives twice.
Real examples: platforms with Moroccan payments#
This isn't theory. These are platforms I built, live today:
- Schoolaris offers 3 routes in one checkout: Moroccan cards, foreign cards, and agency or bank transfer.
- CCL takes cards and agency payments, and learners can pay in full or in 2 or 3 instalments.
- UpSkills takes cards and offline payments with a receipt the team checks.
Want to sell online in Morocco?#
Tell me what you sell and where your customers are, and I'll tell you which routes fit and what the checkout needs: send me a message here. I build business websites and e-learning platforms with Moroccan payments built in, and you can see the projects I've delivered.
Frequently asked questions
Does Stripe work in Morocco?+
No. Morocco isn't on Stripe's list of supported countries, so a company based in Morocco can't open a Stripe account. You need a company registered in a supported country to use it.
How can a Moroccan business accept card payments online?+
Through its bank or a payment company: the website sends customers to a secure payment page where they pay in dirhams with 3-D Secure, and the payment platform confirms the payment to the website's server.
Is CMI still the only way to accept cards in Morocco?+
No. CMI's monopoly ended: since 1 May 2025 new acquirers sign up merchants, and there were about 10 at the end of 2025. CMI now describes itself as a technical platform that processes card payments for them.
Should I open a US LLC to use Stripe from Morocco?+
It's a company abroad with its own taxes and paperwork, so ask an accountant first. If your customers are in Morocco, a payment page that takes Moroccan cards in dirhams is usually the better fit.

Written by
Full Stack Developer & Web Marketer · Marrakech, Morocco
I build modern, scalable web applications end to end, from frontend to backend, with a focus on performance, clean code and user experience.


