Online Payment on WooCommerce in Morocco
WooCommerce powers over 30% of online stores worldwide — and in Morocco it's the leading open-source platform. ChariBaaS provides an official WooCommerce plugin to accept CMI cards, Visa, Mastercard, Maroc Pay and wallets directly inside your WordPress site, in native MAD with no external dependency.
What is it?
WooCommerce is the open-source e-commerce extension for WordPress, used by around 30% of online stores worldwide. In Morocco, it's the dominant choice for merchants who want full control of their store without depending on a proprietary platform like Shopify.
To accept online payments on WooCommerce in Morocco, you need to install a payment gateway compatible with WooCommerce that supports local methods: CMI cards, Visa/Mastercard with 3D Secure, Maroc Pay and Moroccan wallets.
WooCommerce gateways available in Morocco:
- ChariBaaS WooCommerce Plugin — local + international cards, Maroc Pay, wallets, native MAD, sandbox
- CMI — domestic cards only, via third-party plugin
- Payzone — local cards, more complex integration
- Stripe / PayPal — not available in Morocco for local settlement
Why ChariBaaS?
The ChariBaaS WooCommerce plugin is the most complete solution for online payment on WooCommerce in Morocco.
Native WooCommerce plugin. Available on WordPress.org and our site, fully WooCommerce-standard. Hooks and filters exposed for advanced developer customisation.
Every payment method. CMI domestic cards, Visa/Mastercard international with 3D Secure 2.0, Maroc Pay (QR), e-wallets and m-wallets, transfers and BNPL. One integration.
Native MAD. WooCommerce + ChariBaaS = settlement straight to your Moroccan dirham account, no forced conversion, no hidden FX fees.
Tokenisation and recurring payments. For WooCommerce Subscriptions sites, native support for recurring debit with tokenised cards.
Open-source friendly. Documented code, WordPress hooks, translated into French and Arabic. Detailed logs for your team's debugging.
How ChariBaaS addresses this
Here's how to enable WooCommerce payments in Morocco with ChariBaaS:
- Install. Download the plugin from WordPress.org or our site, upload to WordPress (5 minutes).
- Activate. Enable the plugin and paste your ChariBaaS API keys (sandbox first).
- Configure WooCommerce. In WooCommerce > Settings > Payments, enable the ChariBaaS methods you want (cards, Maroc Pay, wallets).
- Test. Run test orders with sandbox cards.
- KYB. Submit your merchant documents for validation (48–72 hours).
- Production. Switch to production API keys. Your customers can now pay online.
Full documentation, code examples, WooCommerce hooks and signed webhooks to sync orders and inventory in real time.
Related services
Acquiring (Online) — Chari Pay
Accept payments online via Chari Pay — PCI DSS certified, 3D Secure. Multiple payment methods: card, DamaneCash, ChaabiCash, Maroc Pay. Plug-and-play for Shopify, WooCommerce, and Amadeus.
Learn morePayments and Bank Transfers
P2P and P2B transfers by phone number or RIB, direct debits, automated payouts — all through fast, secure APIs. Built to scale with your activity.
Learn moreAccounting & Settlement
Automate accounting, settlements, and Bank Al-Maghrib regulatory reporting from a single source of truth. Real-time operations tracking, automated ledger postings, and detailed transaction audit trails.
Learn morePayment Accounts & Wallets
Compliant payment accounts & wallets with Moroccan IBANs. Fully digital account opening via phone number with built-in KYC/KYB. Real-time balance, transaction history, and fund management — all accessible via API.
Learn moreUse cases
WordPress e-commerce
Collect orders for your WooCommerce store with every Moroccan payment method in a single integration.
WooCommerce Subscriptions
Compatible with WooCommerce Subscriptions for automatic monthly or yearly recurring debit in MAD.
Dokan / WC Vendors marketplace
Real-time split payments between the platform and sellers with automatic settlement compliant with regulation.
Online courses (LearnDash, LifterLMS)
Sell course access with automatic unlock after a signed-webhook payment confirmation.
WooCommerce Booking
Online bookings with immediate payment or delayed card hold for hospitality, salons and services.
Custom plugin
Documented REST API and WordPress hooks for specific integrations by your engineering team.
Frequently asked questions
Install the ChariBaaS WooCommerce plugin, paste your API keys, enable the payment methods you want (CMI cards, Visa/Mastercard, Maroc Pay, wallets) and go live after KYB validation. The plugin is free, you only pay per successful transaction.
ChariBaaS is recommended because it is the only WooCommerce Morocco gateway that unifies domestic (CMI) cards, international cards, Maroc Pay, e-wallets and transfers in native MAD, with a free sandbox, 3D Secure 2.0 and Bank Al-Maghrib compliance.
No. Stripe is not available in Morocco for merchants wishing to receive local settlements. The Stripe plugin exists for WooCommerce, but you cannot enable it as a Moroccan merchant. ChariBaaS is the compliant local alternative.
No, the plugin is entirely free. You only pay per successful transaction (from 1.8% based on volume), with no setup, no subscription, no commitment. WordPress and WooCommerce themselves remain free.
Yes. The ChariBaaS WooCommerce plugin supports Maroc Pay natively. At checkout, the customer picks Maroc Pay, scans the QR with their banking app or wallet, and the order confirms in real time via webhook.
Yes. The ChariBaaS plugin is compatible with WooCommerce Subscriptions and supports recurring debit through card tokenisation (PCI DSS compliant). Ideal for subscription sites, monthly boxes and WordPress SaaS.
No. The plugin is performance-optimised: asynchronous loading, no blocking scripts, no unnecessary requests. WooCommerce checkout stays fast. A CDN and decent WordPress hosting remain recommended for overall performance.
See also
Online Payment on Shopify in Morocco
Accept payments on Shopify Morocco: CMI cards, Visa, Mastercard, Maroc Pay. Official ChariBaaS Shopify plugin. 5-minute setup. Free sandbox. Native MAD settlement.
Online Payment in Morocco
Accept online payments in Morocco: Visa/Mastercard, Maroc Pay, wallets, 3D Secure. Shopify, WooCommerce and API integrations. Transparent pricing. ChariBaaS.
E-Commerce Payment Solutions in Morocco
Payment solutions for e-commerce in Morocco. Shopify, WooCommerce plugins. Visa, Mastercard, DamaneCash, Maroc Pay. PCI DSS certified. Chari Pay by ChariBaaS.