#king-kazu_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/1296553863700021418
π Have more to share? Add more details, code, screenshots, videos, etc. below.
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?
@glossy sparrow wanted to check in and see if you were still around to tell me more about what you're seeing?
ya give me a second let me find the ids
heres a test checkout session with the error
cs_test_a1t8x92zGu39ZGLVtL2C4rfUuoIqyHFqFU3Fbie15UCZUQlphictpxASSx
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.
Hm gotcha. Is that shown as soon as you load checkout, or only once you click on Subscribe?
once I click subscribe
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.
I have checkout_session_write, should that not include the needed permissions by default?
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.
Awesome, I'm glad to hear that!