Hello Render,
I’m attempting to setup a Preview Environment that successfully interacts with my Stripe integration.
To do so I need to create webhook endpoints in Stripe that reflect the appropriate PR url (which I can do via API calls: Stripe API reference – Webhook Endpoints)
When created, the API response returns a signing secret that I must store / make available to my application, preferably through an environment variable.
Is there a way, in my initialDeployHook, to add such an environment variable and assign it values on the preview environment instance?
For context, the initialDeployHook is written in Bash.
I’m not seeing support for such an action in the api docs, thanks!
P.S. open to alternative solutions to get this working