Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to integrate Razorpay Payment Gateway in WordPress

I am planning to integrate Razorpay Payment Gateway in my client website which has been developed in WordPress in which the scenario will be as follows.

  1. The user will fill inquiry form with his requirement.
  2. Then depend on customer requirement owner will reply with cost and some code to customer(through mobile/email communication).
  3. The customer will go at website's Payment Page where He/She will submit form(name,amount,code as remark and email id) which will redirect to payment gateway page.

At WordPress website the plugin (Razorpay Quick Payments) has implementation details as follows.

  1. Add a few custom variables and some markup to a page.
  2. Specify the amount, name, description and other custom details as page metadata.
  3. Write [RZP] wherever you want on the post and the button to show up.

The plugin takes over and completes the payment.

I am not getting how to do all these steps.

like image 719
shruti kharge Avatar asked Feb 26 '18 05:02

shruti kharge


People also ask

Is Razorpay payment gateway free?

Is Razorpay free? No. Razorpay charges a nominal fee to customers for using its payment gateway.


1 Answers

Step 1 - Create a page and click on "Screen Options" on the top right and Select "Custom Fields" checkbox.

enter image description here

Step 2 - You will be able to see a new "Custom Fields" section if you scroll down the page. It contains 2 fields - name and value. Click on "Enter New".

enter image description here

Step 3 - Now you will be able to type in the name field, as per the requirements of Razorpay, you have to to enter these 3 values in name field -

  • name
  • description
  • amount

In the "value" field of "amount", you have to enter the amount in rupee you want to charge, if you want to charge INR 1000, you have to enter 1000.

enter image description here

Step 4 - In the main text area, type [RZP], save the page and open. You will see "Pay With Razorpay" button.

enter image description here

Click on the button and you will be able to see different payment options like Debit Card / Credit Card / Netbanking / UPI / Wallet.

enter image description here

User will have to enter their mobile number and email id to proceed with the payment.

like image 153
gegobyte Avatar answered Nov 18 '22 06:11

gegobyte