Skip to content

Razorpay Gateway Setup

GateFuz supports native Razorpay checkout with instant UPI QR, Google Pay, PhonePe, Paytm, Indian netbanking, and credit/debit cards.

Navigate to GateFuz → Gateways → Razorpay to configure API keys, test mode, and webhook secret:

GateFuz Razorpay Gateway Configuration
Setting Type Description
Enable Gateway Select Toggle whether Razorpay appears in the checkout modal.
Environment Mode Select Switch between Sandbox / Test Mode and Live Production.
Test Key ID String Developer Test Key beginning with rzp_test_....
Test Key Secret Password Developer Test Secret password.
Live Key ID String Production Live Key beginning with rzp_live_....
Live Key Secret Password Production Live Secret password.
Razorpay Webhook Secret Password Secret password configured when creating the webhook in Razorpay Dashboard for HMAC-SHA256 signature verification.

  1. Log in to your Razorpay Dashboard.
  2. Navigate to Settings → API Keys.
  3. Click Generate Key (or view existing keys).
  4. Copy your Key ID (rzp_test_... or rzp_live_...) and Key Secret.
  5. In WordPress, navigate to GateFuz → Gateways → Razorpay and paste them into the respective Test and Live fields.

  1. In the Razorpay Dashboard, go to Settings → Webhooks.
  2. Click Add New Webhook.
  3. In Webhook URL, paste:
    https://example.com/wp-json/gatefuz/v1/webhook/razorpay
  4. Enter a strong secret password in the Secret field.
  5. Select the recommended events:
    • payment.captured
    • payment.authorized
    • payment.failed
    • refund.processed
    • subscription.charged
  6. Click Save.
  7. In WordPress, copy the secret password into GateFuz → Gateways → Razorpay → Razorpay Webhook Secret.