#heildever

1 messages · Page 1 of 1 (latest)

normal micaBOT
tulip radish
#

Hello, good question. I am consulting my colleagues on this and will get back to you

thorny gazelle
#

Correct

tulip radish
#

Does that look like it will work for your purposes?

thorny gazelle
#

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

tulip radish
#

Ah gotcha, checking in to that and will get back to you

thorny gazelle
#

Thanks

tulip radish
#

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

Learn about the app manifest, an index of all fields, types, and descriptions for your app manifest file.

An index of all fields, types, and descriptions for the Extension SDK API.

thorny gazelle
#

Trying this out quickly