How do I integrate Razorpay in India with WordPress?
Integrating with a WordPress site is straightforward, especially if you’re running WooCommerce or accepting donations/payments directly payment gateways . Here’s a step-by-step guide:
Step 1: Create a Account
-
Go to and sign up for a merchant account.
-
Complete KYC verification (business PAN, GSTIN, bank account, etc.).
-
Once approved, you’ll receive your Key ID and Key Secret from the Razorpay dashboard.
Step 2: Install WooCommerce (if you run an online store)
-
In your WordPress dashboard, go to Plugins > Add New.
-
Search for WooCommerce and install it.
-
Configure your store details (currency, tax, shipping, etc.).
Step 3: Install Razorpay Plugin
-
Go to Plugins > Add New.
-
Search for Razorpay for WooCommerce (official plugin).
-
Install and activate it.
Step 4: Configure Razorpay
-
Go to WooCommerce > Settings > Payments.
-
Enable Razorpay.
-
Enter your Key ID and Key Secret (from Razorpay dashboard).
-
Save changes.
Step 5: Test the Integration
-
Switch Razorpay to Test Mode in the plugin settings.
-
Place a dummy order to ensure everything works.
-
Once satisfied, switch to Live Mode.
Alternative (Without WooCommerce):
-
If you don’t run a store, install the Payment Button for WordPress plugin.
-
You can generate a payment button in your dashboard and embed it on any page/post using a shortcode.
Comments
Post a Comment