Do you want to add RazorPay to the WordPress Website for WooCommerce? Then you’re at the right place, today I will tell you everything about how to add Indian Payment Gateway in WooCommerce.

The eCommerce Business is increasing day by day, and demand for creating an online store also increasing, as an increase in online stores many new people are starting their online stores.

although with the help of WordPress and WooCommerce, it is easy to create an online store and start selling products online.

By adding Razorpay to WordPress or WooCommerce websites, your visitors can make payments easily.

In this post, we will tell you about the full process of adding RazorPay to WordPress Websites.

However, some people find it difficult, mainly when it comes to online payment. We have already published a post on How to Set up Payments in WooCommerce.

But in today’s blog, I am going to tell you about, How to add RazorPay to the WordPress website.

Today you will get to learn everything about, adding RazorPay in WordPress Website to your WooCommerce store.

How to Add Indian Payment Gateway Razorpay in WordPress

To set up RazorPay in WordPress Website you will need a Payment Gateway, in which you can make payments. So for that, we are going to use RazorPay Payment Gateway for WooCommerce.

It uses a seamless integration, allowing the customer to pay on your website without being redirected away.

This allows for refunds, works across all browsers, and is compatible with the latest WooCommerce.

To add RazorPay to the WordPress Website, you need to install the plugin.

firstly go to the Plugin directory and install the Razor Pay plugin.

Go to Dashboard > Plugins > Add new and search for Razorpay

After searching you will find a plugin named, Razorpay for WooCommerce, like the given screenshot below, click on the Install Now button to install the plugin.

How to Setup Razorpay in WordPress and WooCommerce

How to set up the Razorpay plugin

Now after installing the plugin, it’s time to set up the Razorpay Plugin, and for that go to

Dashboard > WooCommerce > Setting as shown in the screenshot below.

How to Add Indian Payment Gateway in WooCommerce

Here click on the Payments tab, enable Razorpay by clicking on the toggle, and then click on the manage button, as shown in the screenshot below.

How to Add Indian Payment Gateway in WooCommerce

If you do not see Razorpay in the list at the top of the screen make sure you have activated the plugin in the WordPress Plugin Manager.

Razorpay Payment Gateway Settings

Now we have to set up the Razorpay Payment Gateway Settings. To start things off, sign up on to the Razorpay website with your email and select the particulars of your business. Next, activate your account to access the dashboard.

how to accept indian payments in wordpress website

To access all features of Razorpay, complete your Kyc from the Razorpay dashboard.

Now on Razorpay WooCommerce Settings, you have to some details, let’s discuss all of them one by one, to know everything.

  • Enable/Disable- Use this Checkbox to enable or disable the Razorpay Payment Gateway on your website.
  • Title- Here you can write a title that your customers will be able to see during checkout, so enter it.
  • Description- In this section, you can add info shown to customers if they choose Razorpay Payment Gateway during checkout.
how to accept indian payments in wordpress woocommerce website
  • Key ID- Here you have to enter the Key ID. The key ID and key secret can be generated from the “API Keys” section of Razorpay Dashboard. Use test or live for a test or live mode.
  • Key Secret- Enter the Key Secret

To find the Key ID and the Key Secret, go to your Razorpay Dashboard, and scroll down, here on the left sidebar you will see the Settings option, click on Settings.

How to Add Indian Payment Gateway in WooCommerce.

After clicking on Settings, you will see a section of API Keys, here you have to generate the key and click on the Generate Live Key button, as shown in the screenshot below.

How to Add Indian Payment Gateway in WooCommerce.

Here you will get the New Key ID and Key Secret, copy the Key ID and Key Secret.

and go to, WooCommerce Razorpay payment gateway settings and paste into the Key ID and Key Secret fields.

rozerpay 7031

After entering the key, now select Payment action on the order complete.

Set the Payment Action to Authorize and Capture to auto-capture payments. If you want to capture payments manually from the Dashboard after manual verification, set the Payment Method to Authorize.

rozerpay 70831

Now Enable and set up the Webhook, to know how to do it, Click here

After adding all fields, now click on the Save Changes button to save your edits.

After completing the setup, now your customers can see the Razorpay Payment Gateway option on the checkout page of your Store, just like the screenshot below.

Razorpay woocommerce payment GateWay

With Razorpay Gateway, your customers can pay via Credit card, Debit card, Net banking, and Wallet & UPI easily. Now you are all set to start getting payments from your customers very quickly.

Main Features of the Razorpay Payment Gateway

  • Payment modes– Your customers can choose cards, net banking, UPI, wallets, and many other payment modes to make payments to you
  • Robust security- PCI DSS Level 1 compliant along with frequent third-party audits and a dedicated internal security team to make sure your data is always safe
  • Checkout and global card saving- An easy-to-integrate Checkout with cards saved across businesses so that your customers can pay seamlessly everywhere
  • International payments- Support for payments in 100 foreign currencies
  • Powerful dashboard- Get reports and detailed statistics on payments, settlements, refunds, and much more for you to make better business decisions
  • Built for developers- Robust, clean, developer-friendly APIs, plugins, and libraries for all major languages and platforms that let you focus on building great products
  • User Interface- Customize the UI as per your brand, add the company logo, and much more.
  • Payment button- With a Payment Button, you get the power of a payment gateway at the touch of a button, and add a payment button to anywhere on your website.

So this is how you can add RazorPay in the WordPress Website to your WooCommerce Store. The Razorpay payment gateway perfectly works with WooCommerce and ThemeHunk Shopping Themes.

I hope this article, which is on How to Add an Indian Payment Gateway in WooCommerce, will help you to solve your problems regarding the setup of an Indian Payment Gateway into the WooCommerce Store on the WordPress Website.

Still, if you have any doubts or want to ask anything regarding Razorpay, you can ask us via the comment section below. Thanks for reading this blog have a good day. 🙂

Read More WooCommerce Blogs By ThemeHunk