Skip to content

Webhooks

Mayank Amencherla edited this page Jul 27, 2017 · 6 revisions

Razorpay Webhooks

Razorpay supports webhooks with several events. Please check this link for Webhooks

Woocommerce plug-in

Supports the following webhook events:

  1. payment.authorized
  2. payment.failed
  3. subscription.charged

Set up:

  1. Enable webhooks on your Razorpay woocommerce settings page in woocommerce/settings/checkout/Razorpay
  2. Right below the enable option, you will find the webhook url: please copy it over to dashboard.razorpay.com and head over to Webhooks and click on Edit your Test Webhook and add the url in the url option on the modal that opens up.
  3. Right below the webhook url, you will find the webhook secret: Please copy it over to dashboard.razorpay.com and head over to Webhooks and click on Edit your Test Webhook and add the secret to the Secret option on the modal that opens up.
  4. Activate all the events whose webhooks you'd like to use: The events currently supported by our woocommerce plugin is listed above.

Enjoy our new and awesome feature!

Clone this wiki locally