Skip to content

How to handle webhook disable which occurs on many failures from client side? #286

@Mahizha-N-S

Description

@Mahizha-N-S

HI i am working on razorpay -python backend where , i used webhook to handle the events: payment.created, failed, captured, refund.create.
During test mode itself, on multiple failures the webhook automatically gets disabled , and the only way to enable is from the razorpay dashborad, but this means , due to a particular customer making webhook failure will affect the webhook while another customer right?

Is there a way to handle this in code
These were the ways i saw in net and implemented :

  1. Valid-signature in webhook headers
  2. response is mostly of code = 2xx (eg:200)

And is the only way to enable is it by receiving the alert mail and manually enabling it in dashboard

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions