Desktop Admin
Comment on page


How to Integrate Razorpay to aasaan

Set up Razorpay on your Store

Note: Click here to navigate to the mobile admin app version of this article
You can watch the video version of this article here:
Our regular method of setting up online payments, involves setting up aasaan Pay by entering your bank account details. This works if you don't have a payment gateway account like Razorpay.
But what if you do have an existing account on Razorpay? Here is how you connect it to aasaan:
Note: Make sure to install Razorpay from the aasaan app market. Click here to learn how to install apps from your app market.
Login to your existing razorpay account and click on Account & Settings > API Keys.
Since we already have existing API keys and need new ones, we will click on Regenerate Test Key.
Important note: This guide illustrates the steps for integrating Razorpay in test mode. You will need to integrate Razorpay to your store in live mode to be able to accept real payments. The Razorpay integration process is the same in both the test mode and live mode. So if you are carrying out this step in live mode, you will need to click on Regenerate Live Key.
To get new API keys, you will need to deactivate your existing ones. Choose Deactivate old key immediately and then click on Confirm and deactivate.
Copy and save your Key ID and Key Secret will be visible. You can download them by clicking on Download Key Details.
Important note: The key secret will be displayed only once.
Go to your installed Razorpay app in aasaan. Enter your Key ID and Key Secret.
Copy the Webhook URL.
Now you need to add the aasaan app Webhook URL into your Razorpay account.
In your razorpay settings, click on Webhooks > Add New Webhook.
Paste the webhook url in the top field, and choose payment.failed and payment.captured as the active events. Then click on Create Webhook.
Your webhook will be created.
STEP 10:
Go back to your installed Razorpay app in aasaan and click on Verify.
You have successfully set up Razorpay on your store.
Last modified 7mo ago