How to integrate Razorpay payment Gateway in Wordp

2019-05-24 16:59发布

I am planning to integrate Razorpay Payment Gateway in my client website,which has developed in wordpress in which scenario will be as follows
1)User will fill enquiry 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)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) have 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 where to do this all steps.

1条回答
家丑人穷心不美
2楼-- · 2019-05-24 17:33

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.

查看更多
登录 后发表回答