#somethingorother_unexpected

1 messages ยท Page 1 of 1 (latest)

hard veldtBOT
#

๐Ÿ‘‹ 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.

real swallow
#

hi! well let's start with the promo code, what is its ID promo_xxx ?

lusty adder
#

Hey ๐Ÿ™‚ It's promo_1PM5yXJYMOMTx4nTzo2EwvRz

real swallow
#

can you create a new CheckoutSession and let me know its ID cs_test_xxx so I can debug something on it?

lusty adder
#

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

real swallow
#

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.

lusty adder
#

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

real swallow
real swallow
hard veldtBOT
lusty adder
#

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?

real swallow
#

it's defined by how you call the API when you create the CheckoutSession.

lusty adder
#

ah I see - what is the recommended set up for stripe connect?

real swallow
lusty adder
#

ok thank you ๐Ÿ™‚

real swallow
#

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.