No reviews found
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.
- Store Builder
- Store Builder Ultimate
- Multi-Vendor
- Multi-Vendor Plus
- Multi-Vendor Ultimate
- 4.20.1
- 4.19.1.SP2
- 4.19.1.SP1
- 4.19.1
- 4.18.4
- 4.18.3
- 4.18.2.SP1
- 4.18.2
- 4.18.1.SP1
- 4.18.1
- 4.17.2.SP3
- 4.17.2.SP2
- 4.17.2.SP1
- 4.17.2
- 4.17.1
- 4.16.2
- 4.16.1
- 4.15.2
- 4.15.1.SP4
- 4.15.1.SP3
- 4.15.1.SP2
- 4.15.1.SP1
- 4.15.1
- 4.14.3
- 4.14.2.SP1
- 4.14.2
- 4.14.1.SP1
- 4.14.1
- 4.13.3
- 4.13.2.SP2
- 4.13.2.SP1
- 4.13.2
- 4.13.1
- 4.12.2
- 4.12.1
- 4.11.5
- 4.11.4
- 4.11.3
- 4.11.2
- 4.11.1
- 4.10.4.SP1
- 4.10.4
- 4.10.3
- 4.10.2
- 4.10.1
- 4.9.3
- 4.9.2
- 4.9.1
- 4.8.2
- 4.7.4
- 4.6.3
- English
Contact information
Cartmodules operates a team of professional web designers and developers, providing premium CS-Cart services like add-ons development and theme development at affordable prices. We not only work effectively but smartly and deliver the best to our customers in shortest possible and ensuring quality of the deliverables.
We have an experienced team of professional having experience in PHP, JavaScript, Smarty, jQuery, CSS, Ajax, HTML5 and other programming languages and technologies. The development is inline with latest quality standards.
Our customers include a number of small, medium and large enterprises who are into e-commerce and want to expand further their business using technology.
Similar products
Make purchases for 200$ from our entire offer and get 20% discount
The module "TargetSMS: SMS notifications" is intended for sending SMS text notifications to an administrator and buyers of online store.