#mike_docs
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/1332371973678043260
š Have more to share? Add more details, code, screenshots, videos, etc. below.
Are you doing destination charges or direct charges?
We plan to use direct charges
Yeah so if doing a direct charge, you'd just make the request to calculate tax on the connect account via the stripe account header (the same way you'd create the payment intent on the connect account): https://docs.stripe.com/connect/authentication
I see. and that is all?
Yeah the rest of that guide still holds true
The difference is you'd be making all of those requests directly on the connect account via the above header
Since that's where all objects (customer, etc) will also be
ok, thank you
wait
do I understand correctly that tax is calculated like a triangulation (vendor, customer, product)?
Yes
ok, thanks. does stripe send webhook once card expires?
No
We try to update cards with their new expiration dates automatically (if the network sends us this info)
And you'll get webhook events for that
the expiration date on the card can be changed? wow. did not know that
maybe they rotate same card number with difference cvc and expiration... š¤·āāļø
Yeah that's usually what happens when your card expires
They'll send you a new one with new cvc and expiration
I have one more question regarding tax calculation and payment_intent. I first calculate the tax and then to-my-understanding attach it to the payment_intent (for tax reports). can I see somehow the details of the tax calculation on the pi itself?
I am asking because of how our platform fee (we call it commission fee internally) is calculated. We have a rule that our fee is some % from the total pi amount but minimum amount must be XY (like 2 EUR minimum). I suppose the commission fee will be calculated from the pi amount which is tax-including-amount, right? we receive our fee including the tax imho but can we destruct to amount-excluding-tax + tax-amount?