#somethingorother_unexpected
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/1245683619490562090
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi! well let's start with the promo code, what is its ID promo_xxx ?
Hey ๐ It's promo_1PM5yXJYMOMTx4nTzo2EwvRz
can you create a new CheckoutSession and let me know its ID cs_test_xxx so I can debug something on it?
I should already have one active if you want: cs_test_b1MlCLgpc8BOQv4Ns2JIiwhOSO5xBp660WZxJy2n6hk8bTEvnlHyJ6127N
ah - no that's inactive now - I'll create a new one
hey here's an active one: cs_test_b1ybJwVNQlxDWbBeLNzrn8U9KIsbmEWdvRJk6TXw2KP4tNglCaIFvDTEej
ah right
sorry I was overthinking this. Your problem is you create this PromoCode on your platform account ,but you create the CheckoutSession on an Express connected account, so that won't work.
You'd need to create the PromoCode object on the connected account if that's(the Express account processing the payment) is the goal.
that's be the same reason your cancel call doesn't work , I imagine โ you're forgetting to pass the Stripe-Account option on the cancel request so it doesn't run on the connected account but instead your platform.
ok - so I have to pass through extra info for cancelling
i didn't see an option to create a promo code on a connected account - is that in products?
is that also why I can't get the stripe payment method, for connected accounts? I suppose so
to be clear I'd expect you to use the API to do this not the Dashboard
if you're using the Dashboard you have to "go into" the connected accounts dashboard via https://dashboard.stripe.com/test/connect/accounts/overview to view/create objects on their account
possibly, depends what you mean by that. Right now you are using Direct Charges on your Express accounts(Is that intentional? that's not generally a recommended set up) so all the objects are on that account, not your platform.
I'm not sure what you mean by direct charges on our express accounts - is this our setup in stripe or the stripe checkout session?
ah I see - what is the recommended set up for stripe connect?
there are multiple recommendations, it depends what you're building, see https://docs.stripe.com/connect/charges#types
ok thank you ๐
generally we say Express + Direct is not recommended because things like refunds and disputes have to be handled by the connected account, but Express accounts don't have a full Stripe Dashboard so they can't do that themselves; generally it's Standard + Direct Charges or Express/Custom + Destination charges.