How to integrate Razorpay payment Gateway in Wordpress

佐手、 提交于 2019-12-22 06:35:26

问题


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:


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

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".

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.

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

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

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



来源:https://stackoverflow.com/questions/48982010/how-to-integrate-razorpay-payment-gateway-in-wordpress

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!