This article shares step-by-step information on how to get started with Razorpay as a payment gateway, connect your Razorpay account with Knorish to automate payment collection, and assign courses.
Note: Razorpay can process a minimum of 1 INR and 1 USD or a maximum of 5,00,000 INR or a similar USD amount. For more updated details please refer to Razorpay documentation.
Setting up Razorpay Account
Note: The onboarding process and KYC Documentation needed for opening any payment gateway accounts depends on the existing regulations and processes laid down. For the latest information, please refer to the RazorPay Documentation here: Razorpay documentation on KYC Documents.
Sign up or Log in
Activate your account, if not activated already
Go to Dashboard
Switch to Live Mode
Scroll down to Settings on the bottom left corner
Click on API keys
Generate your new keys to integrate on the Knorish platform
Copy or download key details
Steps to follow on the Knorish platform
Login to your Knorish account
Click Integrations> Settings> Payment Gateways
Under Razorpay, enter the downloaded key ID and key secret details
Click Connect
Addition of Webhook URL
Ensuring a smooth integration, Webhooks help Razorpay perform better, connect seamlessly for data flow, and more.
This step is to be completed on Razorpay in the next steps:
Login to your Razorpay Account
Scroll down to Settings inthe bottom left corner
Click on Webhooks
Open + Add New Webhook
Paste the copied Webhook URL from the Knorish dashboard
Secret - leave this blank
Alert Email - leave this blank
EventsIn Active events, select Order Events> Order. paid and Subscription Events> check all events (all subscription events checked are required for selling bundles and subscriptions)
Click on Create Webhook
That's it. You are done!
Confirm complete activation with a test purchase of your course as a student. You may do this in incognito mode. Make sure to log out of your academy before this test purchase. You can also use the test mode of Razorpay to test course purchase flow.
Note: Getting Internal Server Error on Payment Page?
Possible reasons:
Wrong key-id or key secret used.
All course currencies should be activated, if the course price is in USD that currency should be activated.
Razorpay Subscriptions
Subscriptions: Subscription payments are usually not enabled on Razorpay gateway accounts. Please reach out to Razorpay to enable this feature on your account. Learn more here:Razorpay Subscriptions
Note: When the user purchases a subscription using Razorpay, they can change their credit card on file.
Common Razorpay Errors
If you notice any error or unusual functionality while trying to checkout on your Knorish site, it might be due to any of the following reasons:
KYC issue - when you have just set up your Razorpay account and KYC is not yet completed.
Domain issue - when domain is not whitelisted on the Razorpay dashboard, payments will fail with a "Payment failed" error and sometimes the Razorpay payment popup will not close post payment.
Currency issue - when Razorpay has approved for INR currency but your course is priced in USD.
Pricing issue - when Razorpay has approved for 1 lac per transaction and your course price is higher.
API Issue - your Razorpay APIs, may have expired or been removed.
Integrating Paystack as a payment gateway in Knorish enables seamless payment processing for your courses and products in South African Rand, US Dollars, Ghanaian Cedi and Nigerian Nairas. Follow this step-by-step guide to set up Paystack integration ...
Freshdesk Integration - A Complete Guide Freshdesk is a cloud-based customer support platform that enables companies of all sizes to provide great customer service. It is a customer support software that helps you cater to your customers through its ...
As an email marketing campaign tool, Mailchimp is a very powerful tool to send out emails to your learners and prospective users from your email lists. For more information on features offered in the Free and Premium Mailchimp plans, please visit: ...
This article shares step-by-step information on how to get started with Paypal as a payment gateway, connect your Paypal account with Knorish to automate payment collection and assign courses. Note: Paypal India Business has shutdown hence INR ...
This article shares step-by-step information on how to get started with Stripe as a payment gateway, connect your Stripe account with Knorish to automate payment collection and assign courses. Note: Stripe can process a minimum of INR 1& $0.50 USD. ...