#harshit.tyagi
1 messages · Page 1 of 1 (latest)
Hello 👋
Can you share an example where you're seeing this?
ok
checkout session id - cs_test_b1jI5LvtJdYaHRQ9E6EWj52ijPll3sgyijgLa2uhJFm6leYHlv9sMfibQc
payment intent id - pi_3NNwxXLbjsWaSEFv0Ofk6CaW
thanks, looking..
where are you seeing the sales tax being passed on to the connected account?
Subtotal of this transaction US$12.00
Sales tax: US$0.62
Total: US$12.62
Total US$12.62 was transferred to connect account and then application fee US$4.26 (which I defined at the time of checkout session creation) was returned to my main account balance. So tax amount (US$0.62) is ending up in connect acount only.
This is under my connect account's Payments
@mellow fiber
Hang on, looking..
ok
Looking at the API ref, payment_intent_data.transfer_data.destination
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-transfer_data-destination
If specified, successful charges will be attributed to the destination account for tax reporting, and the funds from charges will be transferred to the destination account. The ID of the resulting transfer will be returned on the successful charge’s transfer field.
If you look at the flow of funds, the total amount is transferred to the destination account first
So this is all expected
have you tried switching to transfer_data[amount]?
Using transfer_data[amount] could be the one possible solution .. but then I will not be able to use the "payment_intent_data. application_fee_amount" parameter .. resulting - I won't be able to see the collected fees under Payments -> Overview -> Collected fees for my main account on Stripe Dashboard
Or may be I'm wrong here, can I use both of these?
@mellow fiber
I don't think you can use both parameters at the same time
Let me try that and I'll get back
👍
Thanks
@mellow fiber Got this error
"You may not provide the application_fee_amount parameter and the transfer_data[amount] parameter simultaneously. They are mutually exclusive."
So yeah, I can't use both
So what solution do I have here?
I think you have to use one or the other unfortunately. I thought that both should show up in the dashboard the same. If you use just transfer_data is this not showing up the way you want it to?