CartModules: Moyasar Payment Gateway
Accept Payments from Saudi Arabia in Your CS-Cart Store
Integrate Moyasar — Saudi Arabia's modern payment platform — directly into your CS-Cart or Multi-Vendor store. Accept payments via mada, Visa, Mastercard, Apple Pay, STC Pay, and SADAD through a secure hosted checkout flow.
Key Features
- Multiple Payment Methods — mada (Saudi debit), Visa, Mastercard, Apple Pay, STC Pay, SADAD
- Dual Checkout Modes — Choose between redirect (hosted page) or inline (embedded form) checkout
- On-Site Payment — Inline mode keeps customers on your store during payment
- Apple Pay — Accept Apple Pay payments via inline checkout
- Redirect-Based Flow — No sensitive data touches your server (PCI SAQ A compliant)
- Automatic Order Updates — Invoice is verified via API on customer return
- Webhook Support — Reliable payment confirmation via server-to-server callback
- Simple Configuration — Single API key determines test vs live environment
- Configurable Order Statuses — Map Moyasar statuses (paid, failed, initiated) to any CS-Cart order status
- Basic Auth Security — Secure API communication using Moyasar's official auth scheme
- Idempotent Callbacks — Duplicate callbacks are safely ignored
- SAR & USD Currency — Native Saudi Riyal support, plus USD
- Halala Precision — Amounts correctly converted to smallest currency unit
Supported Payment Methods
- mada — Saudi Arabia's national debit card scheme (most popular payment method in KSA)
- Visa — International credit and debit cards
- Mastercard — International credit and debit cards
- Apple Pay — Mobile wallet payments
- STC Pay — Saudi Telecom Company digital wallet
- SADAD — Saudi bill payment system
Requirements
- CS-Cart or Multi-Vendor 4.x
- PHP 7.1 or higher
- Moyasar merchant account with API credentials
- Store currency set to SAR (Saudi Riyal) or USD
Checkout Modes
Redirect Mode
- Customer is redirected to Moyasar's hosted payment page
- Payment completed on the gateway's secure page
- Customer returns to your store after payment
Inline Mode
- Moyasar Form builder renders an embedded payment form on your checkout page
- Customer pays directly without leaving your store
- Apple Pay available (requires domain verification)
How It Works
- Customer selects Moyasar at checkout and clicks "Place Order"
- The addon creates an invoice via the Moyasar API
- In redirect mode: customer is redirected to Moyasar's hosted page
- In inline mode: embedded form appears on checkout page
- Customer chooses their preferred payment method (mada, Visa, MC, Apple Pay, STC Pay, or SADAD)
- After payment, the addon verifies payment via API and updates the order status
Installation
- Go to Add-ons > Manage add-ons, click Manual installation, and upload the addon zip
- Activate the addon and enter the license key
- Go to Administration > Payment methods and create a new payment method
- Select "Moyasar Payment Gateway" as the processor
- Enter your Moyasar Secret Key from the Moyasar Dashboard
- Configure order status mappings as desired
- Save and test with a test key (sk_test_) before going live
Country & Currency
This addon is designed for merchants selling in Saudi Arabia. Moyasar primarily supports SAR (Saudi Riyal). Amounts are automatically converted to halalas (1 SAR = 100 halalas) for the API. USD is also supported.
Test vs Live
Moyasar uses a single API URL. The environment is determined by your API key type: test keys start with sk_test_, live keys start with sk_live_. No separate mode toggle is needed.
- 4.10.1
- 4.10.2
- 4.10.3
- 4.10.4
- 4.10.4.SP1
- 4.11.1
- 4.11.2
- 4.11.3
- 4.11.4
- 4.11.5
- 4.12.1
- 4.12.2
- 4.13.1
- 4.13.2
- 4.13.2.SP1
- 4.13.2.SP2
- 4.13.3
- 4.14.1
- 4.14.1.SP1
- 4.14.2
- 4.14.2.SP1
- 4.14.3
- 4.14.3.SP1
- 4.15.1
- 4.15.1.SP1
- 4.15.1.SP2
- 4.15.1.SP3
- 4.15.1.SP4
- 4.15.2
- 4.16.1
- 4.16.2
- 4.17.1
- 4.17.2
- 4.17.2.SP1
- 4.17.2.SP2
- 4.17.2.SP3
- 4.18.1
- 4.6.3
- 4.7.1
- 4.7.2
- 4.7.3
- 4.7.4
- 4.8.1
- 4.8.2
- 4.9.1
- 4.9.2
- 4.9.3
- Multi-Vendor
- Multi-Vendor Plus
- Multi-Vendor Ultimate
- Store Builder
- Store Builder Plus
- Store Builder Ultimate
Addons features
- Frontend
- For customer
- For owner
- For vendor
Shared features
No reviews found








