#mike_docs

1 messages Ā· Page 1 of 1 (latest)

brazen shellBOT
#

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

sullen mason
#

Are you doing destination charges or direct charges?

tacit siren
#

We plan to use direct charges

sullen mason
#

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

tacit siren
#

I see. and that is all?

sullen mason
#

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

tacit siren
#

ok, thank you

#

wait

#

do I understand correctly that tax is calculated like a triangulation (vendor, customer, product)?

sullen mason
#

Yes

tacit siren
#

ok, thanks. does stripe send webhook once card expires?

sullen mason
#

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

tacit siren
#

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... šŸ¤·ā€ā™‚ļø

sullen mason
#

Yeah that's usually what happens when your card expires

#

They'll send you a new one with new cvc and expiration

tacit siren
#

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?

sullen mason
#

Ah no you can't see this on the PI itself

#

You need to retrieve the tax transaction

#

Which should be attached to payment intent