I’m looking to test my webhook implementation but I don’t seem to be able to find a way to do it?
Stripe has tools that let you proxy the webhook to a local server running, which is great. Iterating faster and fixing small issues and testing edge cases with a deployed web server isn’t really feasible imo for developing payment integrations.
Does RC not support anything similar? Do I need to to setup something like ngrok myself to do this?
Page 1 / 1
Hi,
Thanks for reaching out. I’m happy to help!
At the moment RevenueCat doesn’t offer a built-in proxy for local webhook testing, so you’ll need to expose your local server to the internet using a tunneling tool. Here are a few popular options:
- ngrok – the most widely used; simply run
ngrok http 3000
(or whatever port you’re using) and point your webhook URL at the generated https address. - localtunnel – an open-source alternative that works similarly:
npx localtunnel --port 3000
Once you have your tunnel running, just update your RevenueCat webhook endpoint to the public URL and you’ll start receiving events directly in your local dev environment.
Hope that helps, let me know if you have any other questions.
Best,
Hussain
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.