CartModules: PhonePe Payment Gateway
Accept payments from 500+ million PhonePe users in India directly in your CS-Cart or Multi-Vendor store. This addon integrates PhonePe's secure PAY_PAGE redirect flow, supporting India's most popular payment methods.
Supported Payment Methods
- UPI — PhonePe app, Google Pay, Paytm, and all UPI-enabled apps
- Credit & Debit Cards — Visa, Mastercard, Rupay
- Net Banking — All major Indian banks
- Wallets — PhonePe wallet and other supported wallets
Key Features
- Secure SHA256 checksum verification on every API call
- Redirect-based flow (PCI DSS SAQ A compliant — no card data touches your server)
- Server-to-server webhook for reliable payment confirmation
- Built-in sandbox/test mode toggle for development and testing
- Configurable order status mapping for completed, failed, and pending payments
- Amounts automatically converted to paise (INR smallest unit)
- Idempotent callback handling — prevents duplicate order processing
- Structured logging with sensitive data redaction
Target Market
India — PhonePe is one of India's largest digital payment platforms, processing billions of transactions monthly via UPI. This addon is designed for stores selling in INR (Indian Rupees).
Requirements
- CS-Cart or Multi-Vendor 4.x
- PHP 7.1 or higher
- PhonePe merchant account with API credentials (Merchant ID, Salt Key, Salt Index)
- SSL certificate on your store (required for webhook callbacks)
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 add a new payment method
- Select "PhonePe Payment Gateway" as the processor
- Enter your Merchant ID, Salt Key, and Salt Index from the PhonePe dashboard
- Set Payment mode to "Test (Sandbox)" for testing, then switch to "Live (Production)" when ready
