#gershadahlnor_api
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/1266103531878744170
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hey there, i suspect that you're not making the subscription creation request for the connected account too (instead trying it on the platform). Can you share a failing request ID?
Actually it looks like you might be doing this via checkout, but same idea
Here, for example: https://dashboard.stripe.com/test/logs/req_KzCpJMGgtn9CnP
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
message: "No such price: 'price_1PflNsFKD3CUjg2Uq2ctxD6K'",
You create this price on a connected account: https://dashboard.stripe.com/test/logs/req_cZw5pMhyAxnvXc
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You need to provide the Stripe-Account header the same way when creating the Checkout sessions
Yeah i just tried creating a checkout session with this request id req_tcZOjDE9wKA5yi
okay so the price exists, i just need to give this Stripe-Account header when creating the checkout session for it to see it?
Yes
Okay I added the header but now it seems to be having an issue with the customer not being found even though i can see the customer in the stripe UI, could you take another loook? request id is req_nGf2rSqwqRZLBZ
Yep, same problem, the customer exists on the platform
You need to create the customer on the connected account too
When doing direct charges like this, all objects need to reside on the same account
You can't provide IDs from another account (like the platform)
ah okay. am i doing this subscription flow correctly? if a customer wants to subscribe to a connected account product, i would need to create them as a customer of that connected account, then i can create the checkout session, they enter in their payment details, and then they are subscribed? and that flow would need to be the same for every connected account they want to subscribe to?
Yes, if your prices exist on the connected accounts
Otherwise if you mean to manage these on your platform and transfer funds to conencted accounts, you can have a single customer on the platform level
if the prices are only on the connected accounts, do i need to have a platform customer? or would just a connected account customer work?
You don't need one if you only transact at the conencted account level