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/razorpay-for-fluentcart/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
The official Razorpay Payment Gateway Addon for FluentCart. Built from the ground up for high-conversion checkout performance, rock-solid recurring billing, and zero-trust webhook synchronization with zero bloat.
✨ Features
- ⚡ Modern Checkout Embed: Seamless inline payment method showcase displaying Cards, UPI (BHIM), Net Banking, and Wallets with zero skeleton loading delay.
- 🔄 Complete Subscription Engine: Native recurring billing supporting fixed cycles, indefinite renewals, free trials, setup fees, and automated cancellations.
- 🛡️ Zero-Trust Webhooks: Secure, tamper-proof webhook handling powered by HMAC-SHA256 signature verification with fallback API reconciliation.
- 💸 Automated Refunds: Process full or partial refunds directly inside your FluentCart admin dashboard with real-time balance safeguards and idempotency protection.
- 🎛️ Dual-Mode Credentials: Dedicated tabbed management for Live and Test credentials that automatically sync with FluentCart's store mode.
- 🚀 Ultra Lightweight: Under 98 KB total footprint with zero external dependencies, zero SDK bloat, and pure vanilla JavaScript.
- 🧹 Clean Lifecycle & Uninstaller: Leaves zero database footprint upon plugin deletion across single-site and WordPress multisite installations.
💳 Supported Payment Methods
Customers can pay using any major Indian or international payment method supported by Razorpay:
| Method | Description |
|---|---|
| Credit / Debit Cards | Visa, MasterCard, RuPay, Maestro, American Express, Diners Club |
| UPI | Google Pay, PhonePe, Paytm, BHIM, and any UPI app / VPA |
| Net Banking | 50+ Indian commercial and public sector banks |
| Wallets | PhonePe, Mobikwik, Freecharge, Airtel Money, and more |
| International Cards | Global currencies supported via Razorpay International Payments |
📋 Requirements
- WordPress: 5.6 or higher
- PHP: 7.4 or higher
- FluentCart: Installed and activated
- Razorpay Account: Active account with Key ID and Key Secret (Sign up)
🚀 Installation
- Download the latest release
.zipfile from the Releases section. - In your WordPress admin dashboard, navigate to Plugins → Add New → Upload Plugin.
- Select the downloaded
.zipfile and click Install Now. - Click Activate Plugin.
⚙️ Configuration
1. Enter Credentials
- Go to FluentCart → Settings → Payment Methods → Razorpay.
- Toggle the gateway status to Active.
- Switch between the Live credentials and Test credentials tabs to input:
- Key ID (
rzp_live_...orrzp_test_...) - Key Secret
- Webhook Secret (optional, recommended)
- Key ID (
- Click Save Settings.
2. Configure Webhooks in Razorpay Dashboard
- Copy the Webhook URL displayed in the FluentCart Razorpay settings.
- Open your Razorpay Dashboard and go to Settings → Webhooks.
- Click Add New Webhook and paste the URL.
- Enter your Webhook Secret (must match the secret entered in FluentCart).
- Under Active Events, select the following events:
payment.authorizedpayment.capturedpayment.failedrefund.processedsubscription.authenticatedsubscription.activatedsubscription.chargedsubscription.cancelledsubscription.haltedsubscription.completed
- Click Save Webhook.
🔒 Security & Reliability
- HMAC-SHA256 Signature Verification: Every checkout completion and incoming webhook payload is verified using cryptographically secure HMAC-SHA256 hashing.
- Zero-Trust Fallback: If a webhook secret is omitted, the gateway queries Razorpay's authoritative REST API directly before fulfilling any order or subscription.
- Idempotency Protection: All refund and order transactions employ unique idempotency tokens, preventing accidental duplicate charges or refunds even on network retries.
🛠️ Developer Hooks & Extensibility
Currency Filter
Customize supported currencies via the WordPress filter:
add_filter('fluent_cart/razorpay_supported_currencies', function ($currencies) {
// Add custom currency code if supported by your Razorpay account
$currencies[] = 'EUR';
return $currencies;
});
📄 License
This plugin is licensed under the GNU General Public License v3.0 or later.