#dan1106_best-practices

1 messages ¡ Page 1 of 1 (latest)

lucid kiteBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1267629405962899476

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

tired olive
#

There are a few mentions of different configurations in those docs, so let me know if any of those would work for your use-case

strange void
#

yeah, there's a local manifest vs a deployed

#

but I wanted to confirm there's only one deployed manifest covering both test and live mode

lucid kiteBOT
thick kayak
#

Hi @strange void so you want to set up a different stripe-app.json for development?

strange void
#

hi Jack! No, not for test. A different manifest for production/live releases and testing releases

thick kayak
#

Basically you want to keep the URLs that you use during development in a seperate stripe-app.json file?

#

Got it. I think you are looking at the right document. You just need to create a differet stripe-app.[something].json file

#

And specify this file when using the stripe apps CLI

#

For example stripe apps start --manifest stripe-app.dev.json

strange void
#

ok, so I would upload some versions which I never intend to release via the store (for testing, using my .test.json file)

#

and then some versions which are intended for prod use?

thick kayak
#

Why do you need to upload the testing version?

strange void
#

because i need to do a public test in order for my app to receive webhook events from connected accounts

#

but my "public test" is really just me using another one of my accounts

thick kayak
#

Ok, then you need to upload the app for public test, and you might want to remove those testing URLs when you upload for production.