#shashank_api

1 messages ¡ Page 1 of 1 (latest)

novel boltBOT
#

👋 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/1488530373456695366

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

shy crown
#

hey there, thanks for these examples

#

can you also share an example test/sandbox mode request that is working?

coral olive
#

unfortunately I do not have access to the stripe dashboard. Only our CEO has access to it. Can I provide the secret key we are using or provide link to our demo website?

#

Our CEO is unavailable at the moment

shy crown
#

are those requests associated with the same account you shared? if so i can look them up

coral olive
#

yes the requests above are associated with the same account

#

the requests are actually from production not from the demo

shy crown
#

Yep, i found the sandbox on the same account and i'm looking at some account sessions requests

#

Yea in the sandbox it looks like you're using a secret key, not a restricted key

coral olive
#

yes in the demo we are using secret key, in the production we are using a restricted key

#

do you recommend that we use secret key in production as well?

shy crown
#

Give me a moment to look at this

#

Ok, was able to reproduce to confirm my suspicion

#

You (or the person to has dashboard access) needs to modify the Restricted Key permissions to give overall Connect write access, note just the individual items. These are confusingly not the same thing.

#

The write permission needs to be enabled for all of connect like the second image

#

Currently your key is configured more like the first image

#

We're already working on fixing this by giving explicit config options for all API endpoints, but for now you must enable this top-level Connect permission

coral olive
#

okay thank you. We will try this. And if we run into any issues, can I reopen this thread?

shy crown
#

You can open a new one and it will have a link back to this

coral olive
#

okay thank you. Appreciate the help.