Search code examples
asp.net-mvcazurewebhooksbraintree

Test Webhook at localhost in braintree


I am working on braintree and I want to send custom email notifications to my customers as I am working with recurring billing, so every month these custom notifications should be send to all users. For this I have to use webhooks to retrieve currently ocuured event and then send email notification according to webhook's response. (I think this is only solution in this case, If anyone know another possible solution please suggest). I want to test webhooks at my localhost first, And I have tried to create a new webhook and specified the localhost path as destination to retrieve webhooks. But this shows a error "Destination is not verified"..........

My path is : "http://127.0.0.1:81/webhook/Accept"


Solution

  • These are some of the tools that can be used during development of webhooks :

    1) PostCatcher,

    2) RequestBin,

    3) ngrok,

    4) PageKite and

    5) LocalTunnel

    http://telerivet.com/help/api/webhook/testing

    https://www.twilio.com/blog/2013/10/test-your-webhooks-locally-with-ngrok.html