#w3ever-tax
1 messages ยท Page 1 of 1 (latest)
Let me see what I can find - give me a few minutes
Ok. sure.
Quick question - are you using Checkout in subscription or payment mode?
payment mode.
our system is eCommerce multi-vendor system
No subscription, only intent payment.
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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.
Yes, if you use Stripe Tax you don't have to populate that. We'll still calculate the tax for you and you can see what it is for the line items at line_items.data.taxes.amount https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-line_items-data-taxes-amount
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
oh. understand. just one second. ๐
go ahead!
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?
You're transferring the funds to the seller yourself, correct?
yes. in webhook, using transfer.creating function.
should transfer to sellers rest of amount excepted application fee manually?
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