#w3ever-tax

1 messages ยท Page 1 of 1 (latest)

radiant adder
#

Hello!

onyx wadi
#

Hello. Karbi.

#

thanks for quick reply ๐Ÿ™‚

radiant adder
#

Let me see what I can find - give me a few minutes

onyx wadi
#

Ok. sure.

radiant adder
#

Quick question - are you using Checkout in subscription or payment mode?

onyx wadi
#

payment mode.

#

our system is eCommerce multi-vendor system

#

No subscription, only intent payment.

radiant adder
#

Gotcha - so what you can do is check the Checkout Session's line items and each one should give you a breakdown of how much tax was applied to it (see https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-taxes). You can use that information to then redistribute/transfer whatever amount you need to your sellers later

onyx wadi
#

let me check. give me a few minuts

#

when create a session, there is tax rate field in the line item but we use Stripe tax. not Tax rate.

#

Stripe tax collect tax automatically when checkout.

radiant adder
onyx wadi
#

oh. understand. just one second. ๐Ÿ˜„

onyx wadi
#

Karbi. I'm clear. thank you.

#

one more question.

radiant adder
#

go ahead!

onyx wadi
#

when using checkout session, one paymentIntent is created. and transfer payment to each seller in webhook using transfer.create api.

#

how can we collect application fee when transfer payment to each seller?

#

when creating paymentIntent, there is an application_fee_amount field but the destination is the owner account.

#

we should calculate application fee manually when transfering payment?

radiant adder
#

You're transferring the funds to the seller yourself, correct?

onyx wadi
#

yes. in webhook, using transfer.creating function.

#

should transfer to sellers rest of amount excepted application fee manually?

radiant adder
#

Yeah, when you do the transfers yourself there isn't a way to collect a separate application fee. You should just subtract whatever amount you want to keep and then transfer the remaining amount to the seller

onyx wadi
#

Ok. thank you very much for your help.

#

(like)

#

๐Ÿ‘