PayHere payment gateway

Accept Credit/Debit Cards, Bank Transfer, and more payments in your CS-Cart store via PayHere. Secure redirect-based checkout for merchants in Sri Lanka.
Last update: 18.03.2026 Supports current CS-Cart version
CartModules-PayHere
PayHere payment gateway
$198.00
$158.40

CartModules: PayHere Payment Gateway

Accept PayHere Payments in Your CS-Cart Store

Integrate PayHere — Sri Lanka's leading payment gateway — directly into your CS-Cart or Multi-Vendor store. Customers complete payment using Visa, Mastercard, AMEX, eZcash, mCash, Genie, Frimi, and bank transfers through a secure hosted checkout flow.

Key Features

  • PayHere Hosted Checkout — Customers pay via PayHere's secure payment page
  • Multiple Payment Methods — Credit/debit cards, mobile wallets (eZcash, mCash, Genie, Frimi), and bank transfers
  • Redirect-Based Flow — No sensitive card data touches your server (PCI SAQ A compliant)
  • Server-to-Server Notify — Reliable payment confirmation via PayHere's notify callback with MD5 signature verification
  • Sandbox/Production Toggle — Switch between test and live environments from the admin panel
  • Multi-Currency Support — LKR, USD, EUR, GBP, and AUD
  • Configurable Order Statuses — Map PayHere statuses (Approved, Pending, Cancelled, Failed) to any CS-Cart order status
  • MD5 Hash Verification — Secure checkout and callback authentication
  • Idempotent Callbacks — Duplicate callbacks are safely ignored
  • Customer Details Pre-filled — Name, email, phone, and address sent to PayHere checkout

Requirements

  • CS-Cart or Multi-Vendor 4.x
  • PHP 7.1 or higher
  • PayHere merchant account with API credentials (Merchant ID, Merchant Secret)

How It Works

  1. Customer selects PayHere at checkout and clicks "Place Order"
  2. The addon builds a secure form with MD5-hashed parameters and submits it to PayHere
  3. Customer completes payment on the PayHere hosted checkout page
  4. PayHere sends a server-to-server callback with the payment result and MD5 signature
  5. The addon verifies the signature and updates the order status automatically
  6. Customer is redirected back to your store's order confirmation page

Supported Payment Methods

  • Visa / Mastercard / AMEX (credit and debit cards)
  • eZcash (Dialog mobile wallet)
  • mCash (Mobitel mobile wallet)
  • Genie (Dialog mobile wallet)
  • Frimi (mobile wallet)
  • Bank transfers

Installation

  1. Go to Add-ons > Manage add-ons, click Manual installation, and upload the addon zip
  2. Activate the addon and enter the license key
  3. Go to Administration > Payment methods and create a new payment method
  4. Select "PayHere Payment Gateway" as the processor
  5. Enter your Merchant ID and Merchant Secret from the PayHere merchant dashboard
  6. Select the currency and configure order status mappings as desired
  7. Save and test with sandbox mode before going live

Country & Currency

This addon is designed for merchants in Sri Lanka and supports LKR (Sri Lankan Rupee) as the primary currency. International currencies USD, EUR, GBP, and AUD are also supported depending on your PayHere merchant account configuration.

Payment type
One-time payment
Product
  • Store Builder
  • Store Builder Ultimate
  • Multi-Vendor
  • Multi-Vendor Plus
  • Multi-Vendor Ultimate
Compatible versions
  • 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
Localizations
  • English

No reviews found

Cartmodules operates a team of professional web designers and developers, providing premium

Contact information

Phone +91-96538-49089

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

Live search and Search history
5.0 (86)
$120.00
Fast and convenient smart search. Search history. Flexible search settings.
Integration with Base.com (baselinker)
5.0 (20)
$299.00
Addon to Multi-Vendor and Store Builder allows integration with Base.com (baselinker) system. Add-on fully integrates Store Builder/Multi-Vendor ensuring data exchange about orders and products.
Make purchases for 200$ from our entire offer and get 20% discount
TargetSMS: SMS notifications
5.0 (14)
Free

The module "TargetSMS: SMS notifications" is intended for sending SMS text notifications to an administrator and buyers of online store.

SMS Notifications PRO
5.0 (14)
$55.00
This addon helps to create rich SMS notifications in your store. Payment links, tracking numbers and reward points.
CS-Cart Customer Mobile App
5.0 (14)
$599.00
Ecarter React Customer app: Effortlessly shop from home with vast product categories, filters, easy payments, order tracking, and more.
CS-Cart Wallet System
5.0 (11)
$89.00
This magnificent extension adds a built-in wallet system in your store. In which Customer/User has a Wallet. In this Add-on Customer/User can use Wallet Cash during checkout and money will be deducted from their Wallet Cash.