#heildever
1 messages · Page 1 of 1 (latest)
Hello, good question. I am consulting my colleagues on this and will get back to you
Just to confirm, you are talking about a Stripe Apps app that you are building correct? https://stripe.com/docs/stripe-apps
Correct
My colleague recommended using our secrets functionality though I do see that there is a limit of 10 per account and per user https://stripe.com/docs/stripe-apps/store-secrets
Does that look like it will work for your purposes?
Hmm I was looking for something simpler than this honestly, something like dotenv file
Cause I have different URLs to hit in different environments dev/prod
Ah gotcha, checking in to that and will get back to you
Thanks
The environment prop has a constants property that you can store variables like this in
https://stripe.com/docs/stripe-apps/reference/extensions-sdk-api#environment
so if you add a key-value pair to stripe-app.json file, it can become accessible in the environment
https://stripe.com/docs/stripe-apps/reference/app-manifest#extended-manifest
Trying this out quickly