CartModules: Easypaisa Payment Gateway
Accept Easypaisa Payments in Your CS-Cart Store
Integrate Easypaisa — Pakistan's most popular mobile wallet by Telenor Microfinance Bank with over 40 million registered users — directly into your CS-Cart or Multi-Vendor store. Customers complete payment using Easypaisa wallet, OTC, credit/debit cards, or bank transfers through a secure hosted checkout flow.
Key Features
- Easypaisa Hosted Checkout — Customers pay via the Easypaisa hosted page with multiple payment options
- Redirect-Based Flow — No sensitive data touches your server (PCI SAQ A compliant)
- HMAC-SHA256 Verification — Every postback response is cryptographically verified
- Automatic Order Updates — Payment result is verified and order status updated on postback
- Sandbox/Production Toggle — Switch between test and live environments from the admin panel
- Configurable Order Statuses — Map Easypaisa response codes to any CS-Cart order status
- Multiple Payment Methods — Easypaisa wallet, OTC, credit/debit cards, bank transfers
- Idempotent Callbacks — Duplicate postbacks are safely ignored
- PKR Currency — Native Pakistani Rupee support
Requirements
- CS-Cart or Multi-Vendor 4.x
- PHP 7.1 or higher
- Easypaisa merchant account with Hosted Checkout credentials (Store ID, Hash Key)
- Store currency set to PKR (Pakistani Rupee)
How It Works
- Customer selects Easypaisa at checkout and clicks "Place Order"
- The addon generates an HMAC-SHA256 signed form and auto-submits it
- Customer is redirected to the Easypaisa hosted checkout page
- Customer pays using their preferred method (wallet, OTC, card, or bank transfer)
- Easypaisa posts the result back to your store, the addon verifies the hash, 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 "Easypaisa Payment Gateway" as the processor
- Enter your Store ID and Hash Key from the Easypaisa merchant portal
- Configure order status mappings as desired
- Save and test with sandbox mode before going live
Country & Currency
This addon is designed for merchants selling in Pakistan. Easypaisa exclusively supports PKR (Pakistani Rupee). Ensure your store's primary currency is PKR.
