Appearance
Razorpay Settings
Razorpay is a popular and powerful payment solution, especially perfect for businesses in India. It allows you to accept a wide variety of payments, including UPI, Credit/Debit Cards, NetBanking, and Wallets. By connecting Razorpay to FluentCart, you provide your customers with a fast and secure payment option for their orders.
This guide will walk you through how you can get Razorpay up and running on your store.
Step 1: Activate Razorpay in FluentCart
Before you can use Razorpay, you need to add the feature to your FluentCart store.
- Log in to your WordPress dashboard and go to FluentCart Pro > Settings.
- Click on the Payment Settings tab on the left.
- You will see a list of available payment gateways. Find Razorpay and click the Manage button next to it.
- If it isn't ready yet, you will see a screen with an Install & Activate button. Click on it.

Step 2: Configure Razorpay Settings
On this page, you need to provide your Razorpay API credentials to connect your store to your bank account.
First, enable the payment gateway by toggling the Payment Activation switch at the top right. Here is a breakdown of the available settings:
- Live/Test Credentials: You can switch between the Live credentials and Test credentials tabs. It is highly recommended to start with test mode to ensure your checkout is working perfectly before you start accepting real money from customers.
- Test/Live API Key: Enter the Key ID you copied from your Razorpay dashboard into this field.
- Test/Live Key Secret: Enter the Key Secret generated in your Razorpay account here.
- Test/Live Webhook Secret: Enter your Webhook Secret key. You will get this secret when you set up the webhook in your Razorpay dashboard to receive payment updates.
TIP
Now, copy the Webhook URL from this page for future use in Step 4.

Step 3: Get Your Keys from Razorpay
To integrate your store with Razorpay, you require two special codes: a Key ID and a Key Secret.
- Log in to your Razorpay Dashboard.
- In the left sidebar, go to Accounts & Settings.
- Click on the API Keys tab.

- Click the Regenerate Test Key (or "Generate Key") button.

- Copy the Key ID and Key Secret that appear. Keep these safe!

Step 4: Set Up Webhooks
Webhooks are like "digital status updates." They tell FluentCart exactly when a customer has finished paying so the order can be marked as "Paid" automatically.
- In your Razorpay Dashboard, go to Settings > Webhooks.
- Click on the Add New Webhook button.

- In the popup that appears, paste the Webhook URL you copied before from FluentCart.
- In the Active Events section, you must select these specific events:
payment.authorizedpayment.capturedpayment.failedrefund.processed
- Click the Create Webhook button to make sure your store stays updated.
- Razorpay will provide a Webhook Secret. Copy it for later use.

Step 5: Finalize Configuration in FluentCart
Now, take those keys and put them into your store settings.
- Go back to your FluentCart Payment Settings for Razorpay.
- Choose between the Live credentials or Test credentials tab.
- Paste your Key ID and Key Secret into the corresponding fields.
- Paste the Test or Live Webhook Secret you copied earlier from Razorpay.
[Tip] We recommend starting with "Test" mode to make sure everything works before you take real money!

Important: International Payments
If you want to sell to customers outside of India, there is an extra step:
- You must enable International Payments inside your actual Razorpay Dashboard settings.
- Without this, customers using cards from other countries might see their payments declined.
