#michael-harvey_best-practices
1 messages ¡ Page 1 of 1 (latest)
đ 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/1367918716330971291
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
i have some more questions
if a user enrolls in our platform in the stripe dev sandbox, will this user also exist in the qa sandbox?
Are you going to use the same Webhook endpoint for all the environments?
if a user enrolls in our platform in the stripe dev sandbox, will this user also exist in the qa sandbox?
That depends on how you grant the user access. Here's the guide on how you can grant the access in each use case: https://docs.stripe.com/sandboxes/dashboard/manage-access
different webhook endpoint for each environment
In each environment, you can go to its own Webhook page to configure the Webhook endpoint: https://dashboard.stripe.com/test/workbench/webhooks
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
The top left corner account switcher will indicate which environment you're in
what about users that were enrolled in our platform before the sandboxes were created? can they be granted access too?
to the sandboxes?
That's a great question. Let me double check
Whether the user has access to Sandbox depending on the role assigned. Here's the list of roles and their permissions: https://docs.stripe.com/get-started/account/teams/roles
I'd recommend checking with an existing user whether he/she can view a Sandbox with the role given to double check
We are a stripe platform, so users enroll into stripe through our platform
So we have customers who have enrolled into stripe in our test environment
Are you referring to the context of Connect? If so, then the connected accounts don't have access to the Sandbox environment
Will the stripe account of connected stripe users (created in the past) exist in the context of the new sandboxes?
They will not exist in the new Sandbox
Each Sandbox is an independent environment. Only settings will be copied over from live mode account, but not the connected accounts. See the guide here for more details about what will be copied: https://docs.stripe.com/sandboxes/dashboard/sandbox-settings
Is using dedicated sandbox for each test environment the best way to do testing across a couple pre-prod environments?
Yes, using Sandboxes is recommended. I'd recommend reading this blog post for Sandbox strategies: https://stripe.dev/blog/choosing-the-right-sandbox-strategy-for-your-organization
is it possible to test the webhook in production using sandboxes?
Could you share what you're trying to achieve? In general, the Webhook endpoint set in Sandbox will only receive events in the Sandbox, but not from live mode account
so, our apps will need to point to the proper sandbox environment, and the stripe account will only exist in that sandbox?