50% OFF with code BLACKFRIDAY5020% OFF with code BLACKFRIDAY20
Checkout & paymentsStarter / Lite and up

Connect Razorpay

Connect your own Razorpay account by creating an API key in Razorpay and pasting the Key ID and Key secret into Menuthere. Add a webhook secret and the webhook in Razorpay so an order shows as paid the moment the customer pays.

Where
Settings → Payments & tax → Payment Methods → Configure
Time
10 min
Updated

Connect Razorpay

Step 1: Create an API key in Razorpay

In Razorpay, go to Razorpay → Settings → API Keys and create a new key. You get a Key ID and a Key secret.

Step 2: Paste the keys into Menuthere

Open Settings → Payments & tax → Payment Methods, turn on Online payment, press Configure and choose Razorpay. Paste the Key ID (it starts with rzp_live_) and the Key secret. The secret is stored encrypted.

Step 3: Add a webhook secret

Type any text you like as the Webhook secret, or press Generate for one such as yourstore@menuthere. It only has to match the secret you enter in Razorpay in the next step.

Step 4: Add the webhook in Razorpay

In Razorpay open Razorpay → Settings → Webhooks and click Add new webhook. Paste the Webhook URL shown on the Menuthere page, and the same secret. Under Active events open payment and select captured and failed. Make sure the webhook is turned on, then save it.

Step 5: Save and turn on

Back in Menuthere press Save and turn on. Your Razorpay key now shows Saved with its last four characters.

Why the webhook matters

Without the webhook secret, Razorpay's confirmation can't be checked on the server, so an order is only marked paid when the customer's browser returns to your store. If they close the tab first, that confirmation is lost. Adding the webhook closes that gap.

Good to knowTo change a saved key later, press Replace key. Leave the secret blank to keep the one already saved. Razorpay is shown as My own Razorpay in the payment options table.

Questions

Does the money pass through Menuthere?
No. Customers pay through your own Razorpay account, and Razorpay pays out to the bank account on it. See Settlements and bank payouts.
Can I use Razorpay and Cashfree together?
No. One gateway is live at a time. Saving a different gateway switches the old one off.

Can't find it? Email help@mail.menuthere.com or chat with us, 9 AM – 9 PM.Help centerPricingmenuthere.com