Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/alphatechiess/cashfree-for-fluentcart/archive/refs/heads/main.zipAccept one-time payments and recurring subscriptions seamlessly in FluentCart using Cashfree Payments. Built for maximum performance, security, and a frictionless checkout experience for businesses in India and across the globe.
✨ Features
- Seamless Modal Checkout: Embedded popup overlay that keeps customers on your store without redirecting away.
- Complete Payment Suite:
- UPI: Instant payments via Google Pay, PhonePe, Paytm, BHIM, Cred, and all UPI apps.
- Cards: Credit & Debit cards (Visa, Mastercard, RuPay, Maestro, American Express, Diners Club).
- Net Banking: 50+ major Indian banks supported.
- Wallets: Popular digital wallets including Paytm, Mobikwik, Freecharge, Airtel Money, and JioMoney.
- Pay Later / Cardless EMI: Flexible installment options via Cashfree partners.
- Full Subscriptions & Recurring Payments:
- Supports automatic recurring billing with UPI Autopay, eNACH / Net Banking Mandates, and Recurring Cards.
- Flexible intervals (daily, weekly, monthly, quarterly, semi-annually, yearly).
- Synchronized subscription status changes and automated renewal payment tracking.
- Full & Partial Refunds: Initiate refunds directly from the FluentCart order management screen.
- Multi-Currency Support: Accept payments in INR and 140+ international currencies (USD, EUR, GBP, AUD, CAD, AED, SGD, and more).
- Automated Webhooks (API Version
2026-01-01): Real-time cryptographic signature verification using HMAC-SHA256 to ensure zero lost transactions. - Digital Product & Phone Number Compatibility: Works with digital stores requiring no shipping, accurately extracting customer contact and billing details without manual hassle.
- Ultra-Lightweight & Secure: Built with AES-256 encrypted credential storage, memory-cached token handling, zero external dependencies, and a clean footprint under 130 KB.
- Zero-Footprint Uninstaller: Full database cleanup upon uninstallation, completely purging all stored options and transients.
📋 Requirements
- WordPress 5.6 or higher
- PHP 7.4 or higher (PHP 8.0, 8.1, 8.2, 8.3 fully supported)
- FluentCart active on your WordPress installation
- An active Cashfree Merchant Account (Sandbox for testing, Production for live sales)
🚀 Installation
Option 1: WordPress Admin (Recommended)
- Download the latest
cashfree.ziprelease from the Releases tab. - In your WordPress dashboard, navigate to Plugins → Add New → Upload Plugin.
- Choose the downloaded ZIP file and click Install Now.
- Click Activate Plugin.
Option 2: Manual (FTP / SFTP)
- Extract
cashfree.zip. - Upload the
cashfreefolder to your server's/wp-content/plugins/directory. - Activate the plugin via Plugins → Installed Plugins in your WordPress admin.
⚙️ Configuration
1. Enable Cashfree in FluentCart
- In your WordPress admin, go to FluentCart → Settings → Payment Methods.
- Click on Cashfree Payments.
- Toggle Enable Cashfree Payments to
Active.
2. Enter API Credentials
Log into your Cashfree Merchant Dashboard:
- For Testing (Sandbox):
- Switch to Sandbox mode in the dashboard header.
- Go to Payment Gateway → Developers → API Keys.
- Generate or copy your Test App ID and Test Secret Key.
- Paste them into FluentCart under the Test credentials tab.
- For Production (Live):
- Switch to Production mode in your Cashfree dashboard.
- Go to Payment Gateway → Developers → API Keys.
- Generate or copy your Live App ID and Live Secret Key.
- Paste them into FluentCart under the Live credentials tab.
3. Configure Webhooks
Webhooks allow Cashfree to communicate transaction status updates to FluentCart in real time.
- In the Cashfree Gateway settings inside FluentCart, copy the generated Webhook URL:
https://yourdomain.com/?fluent-cart=fct_payment_listener_ipn&method=cashfree - In your Cashfree Dashboard, navigate to Payment Gateway → Developers → Webhooks.
- Click Add Webhook and paste the Webhook URL.
- Select API Version:
2026-01-01. - Enable the following events:
PAYMENT_SUCCESS_WEBHOOKPAYMENT_FAILED_WEBHOOKPAYMENT_USER_DROPPED_WEBHOOKORDER_PAIDREFUND_STATUS_WEBHOOKSUBSCRIPTION_STATUS_CHANGEDSUBSCRIPTION_PAYMENT_SUCCESSSUBSCRIPTION_PAYMENT_FAILED
- If you sell subscriptions, also add the same Webhook URL under Subscriptions → Webhooks in Cashfree.
🔒 Security
- HMAC-SHA256 Webhook Verification: Every incoming webhook payload is cryptographically validated using your App Secret Key and timestamp header to defend against replay and forgery attacks.
- Credential Encryption: Client secrets are encrypted with WordPress-grade AES encryption before persisting to the database.
- Idempotency Protection: Order creation and refund requests contain unique idempotency keys to prevent duplicate billing.
🧹 Complete Uninstallation
This plugin adheres to strict WordPress data hygiene standards. When deleted via Plugins → Delete, uninstall.php automatically executes a complete purge:
- Purges all stored API keys, preferences, and custom table rows.
- Deletes all webhook deduplication transients and memory locks.
- Leaves zero residual database bloat.
📄 License
This plugin is licensed under the GNU General Public License v3.0 or later.