RazorPay Payment Gateway Now Available

We’ve added RazorPay as a built-in payment gateway in the Pay plugin (v3.1.1), alongside PayPal and Stripe.

RazorPay is India’s most popular payment gateway, supporting UPI, cards, netbanking, and wallets like Paytm and PhonePe. If you’re building a store for the Indian market, this is the gateway you’ll want.

How it works

The integration uses RazorPay’s Standard Checkout - a popup that opens on your site without redirecting the customer. It handles payment method selection internally, so there’s no extra configuration needed beyond your API keys.

Setup

  1. Go to Settings → Payment Methods → New Payment Method
  2. Select RazorPay as the payment type
  3. Enter your Key ID and Key Secret from the RazorPay Dashboard
  4. Optionally configure a webhook for automatic payment confirmation

Test mode is supported using RazorPay’s sandbox keys (rzp_test_*).

Webhooks

For production use, we recommend setting up a webhook in your RazorPay Dashboard pointing to your site. The setup instructions are shown directly on the payment method configuration page. This ensures payments are confirmed even if the customer’s browser disconnects.

Thanks to @anjanesh for the suggestion!

1 Like