Razorpay has provided really cool and simple Payment Gateway to integrate, They have documentation and integration kit to almost all the major platforms like, in web -for all major CMS tools like WordPress, open cart, etc and web programming languages like javascript, node js, PHP, c#, etc and mobile platforms like Android and IOS. So nowadays Razorpay is becoming popular in India.
the implementation is simple and straightforward
- Go to the razorpay.com website and register your self after that immediately you will be enabled with the testing mode.
- Then find Test APIs creation link and create one test API for your app.
- Then in your application based on your need, start implementing as below.
- first, include below Razorpay script link in page
- create your pay button in the HTML page as below
- create a button click event and Razorpay js code in between as shown below.
to go live just complete the KYC and get the live dashboard access. Next same as test mode process again create an API for Live use and replace just the key in the code.
For additional fields checkout hosted docs
If you have any query please comment down below.
Arjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India