#meisei81_best-practices

1 messages ยท Page 1 of 1 (latest)

steep coralBOT
dire kindleBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

steep coralBOT
#

๐Ÿ‘‹ 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/1237602580012597289

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

lofty schooner
#

Publishable and secret keys will contain live or test string to determine whether credentials is in live or test mode: https://docs.stripe.com/keys

For example, test mode secret key will be sk_test_xxx.

Your system could check whether the credentials contains test or live substring to determine the mode

Use API keys to authenticate API requests.

latent brook
#

Is there any official API to verify whether the key is used for live mode?

lofty schooner
#

Stripe doesn't have an API to verify the mode of the key

latent brook
#

OK

#

By the way, regarding the webhook event resend, If the event ID of the resend is the same, then the content is also the same, right?

lofty schooner
#

Yes. The event body is the same

latent brook
#

Thanks.

lofty schooner
#

No problem! Happy to help ๐Ÿ˜„