stripe webhooks debug on development server

365 views
Skip to first unread message

Kushwaha

unread,
Jul 5, 2015, 12:50:31 PM7/5/15
to api-d...@lists.stripe.com
I need to know how to debug/test stripe webhooks on development server using .net c#

Thanks in advance!!

Brian Krausz

unread,
Jul 5, 2015, 12:58:49 PM7/5/15
to api-d...@lists.stripe.com
Hello,

There is a "Test Webhooks" button in the dashboard[1] that will send a webhook to your test endpoint. From there you can do what you'd like with the webhook.

You can also create test objects via the API using your test key, which will cause us to send accurate test webhooks for those actions.

Thanks,

On Sun, Jul 5, 2015 at 9:50 AM Kushwaha <pradeepku...@gmail.com> wrote:
I need to know how to debug/test stripe webhooks on development server using .net c#

Thanks in advance!!

--
You received this message because you are subscribed to the Google Groups "Stripe API Discussion" group.
To post to this group, send email to api-d...@lists.stripe.com.
Visit this group at http://groups.google.com/a/lists.stripe.com/group/api-discuss/.

To unsubscribe from this group and stop receiving emails from it, send an email to api-discuss...@lists.stripe.com.

Pradeep Kushwaha

unread,
Jul 5, 2015, 1:04:04 PM7/5/15
to api-d...@lists.stripe.com
Thanks for quick response Brian!!

Here I want to know is there any way to test webhooks at out localhost development server? As I have mentioned earlier that I need to test this in .net #.

Thanks

Brian Krausz

unread,
Jul 5, 2015, 1:13:05 PM7/5/15
to api-d...@lists.stripe.com
Stripe has no way to communicate with your localhost server, so we cannot send a webhook to it. You can simulate a webhook yourself by making a call from the command line to your localhost endpoint, but you'd need to manually create/copy the data. curl is a good tool for doing this.

Generally for specific issues with your own environment/development situation, we recommend contacting sup...@stripe.com. This list is intended for broader questions about the API and product.

Thanks,
Brian

Pradeep Kushwaha

unread,
Jul 5, 2015, 1:14:27 PM7/5/15
to api-d...@lists.stripe.com
Thank you!!

Jim Danz

unread,
Jul 7, 2015, 9:03:50 PM7/7/15
to api-d...@lists.stripe.com
Just to chime in a bit late, some folks enjoy using "localhost
forwarding" tools such as https://ngrok.com/ or http://localtunnel.me/
in order to test webhooks with local development servers.
Reply all
Reply to author
Forward
0 new messages