#SalteeSam

1 messages ยท Page 1 of 1 (latest)

hallow craneBOT
lapis barn
#

That would be determined by the tax code of the product for that line item

#

So you would need to ensure the "product" you use for the tip line item is a suitable tax code for the appropriate treatment

copper hearth
#

can the tax code be set when the checkout session is created? so for example something like this

stripe.checkout.Session.create(
 .....
 "line_items": [{
    "name": "tip",
    "price: "0.50",
    "tax_code": "txcd_00000000"
 }]
 .....
)
lapis barn
#

But if you expect repeat use for this setting up a product is likely a good idea

copper hearth
#

okay, the issue is that it is for connect accounts, so then we would need each connect account to have it set up, and then we'd need to keep track of the product ids for every account

lucid heron
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

Give me a few minutes to get caught up.

#

If you are creating the Checkout Session for them using either Destination charges or Separate Charges & Transfers, then you can just use the Products/Prices from your platform account. But if you're creating Direct charges, then yeah each account would need to have their own Products/Prices created

copper hearth
#

yes they are direct charges. So in that case, it would probably be better to simply set the tax code for the tip line item every time we create a checkout session?

lucid heron
#

That would work

copper hearth
#

okay thank you for your help! have a good rest of your day โ˜€๏ธ