#king-kazu_best-practices

1 messages Β· Page 1 of 1 (latest)

tender novaBOT
#

πŸ‘‹ 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/1296553863700021418

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

strong orchidBOT
north kernel
#

Hi πŸ‘‹ typically I don't recommend using OAuth Connect for new integrations, due to the limitation called out near the top of the doc you linked:

Starting in June 2021, Platforms using OAuth with read_write scope won’t be able to connect to Standard accounts that are controlled by another platform.
If you try to connect to an Account that is already controlled by another Platform. A net new Account is created instead and connected to your Platform, and there isn't a good way for you to detect that happened.

#

Can you share the Checkout Session ID where you saw that error, or the ID of the request that threw the error?

north kernel
#

@glossy sparrow wanted to check in and see if you were still around to tell me more about what you're seeing?

glossy sparrow
#

heres a test checkout session with the error
cs_test_a1t8x92zGu39ZGLVtL2C4rfUuoIqyHFqFU3Fbie15UCZUQlphictpxASSx

north kernel
#

Thank you! Taking a look

#

Can you elaborate on where the error you're referencing is thrown or displayed? I was kind of expecting to see a failed confirmation request associated with that session, but I'm not quickly spotting one.

glossy sparrow
north kernel
#

Hm gotcha. Is that shown as soon as you load checkout, or only once you click on Subscribe?

glossy sparrow
#

once I click subscribe

north kernel
#

Gotcha, thank you for those details, will let you know what I find.

#

Looking at the permissions your app has, I think some may be missing for this flow and am trying to spot which ones.

glossy sparrow
#

I have checkout_session_write, should that not include the needed permissions by default?

north kernel
#

I'm still diving in, but I don't think that necessarily gives you permission to everything Checkout may create or update.

#

Like I see you have that which lets you create the sessions, and subscription write, but I don't think that covers everything.

#

I think you also need payment_method_write based on what I'm seeing.

glossy sparrow
#

let me give it a try

#

that seemed to work ty πŸ‘

north kernel
#

Awesome, I'm glad to hear that!