I have a test webhook setup in Stripe that posts to a google script that is deployed as a web app.
Google gives me the web app URL. That URL does one or more 302 redirects until it actually runs the script. This is incredibly annoying because the Stripe webhook is not following redirects.
How do I get the real URL for the web app and bypass these silly redirects?
Alternatively, how do I get Stripe to follow redirects?
I figured it out. It is actually running the script when the Stripe webhook calls the web app URL, and the redirect is just to display the result.
I hadn't updated the deployed web app version to the latest code, which is why I thought the script wasn't being run.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With