#matiullahpro_code
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/1409553962016702506
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- matiullahpro_code, 3 days ago, 35 messages
- matiullahpro_code, 4 days ago, 16 messages
You are creating the payment intent in test mode: https://dashboard.stripe.com/test/logs/req_sKLmQBcdxx7WE2
But the taxcalc exists in a sandbox: https://dashboard.stripe.com/test/logs/req_4FK5AhRiqmvW1c
The payment intent doesn't recognize the tax calc ID because its in a different account/context, these need to match.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Either create the payment intent in the sandbox, or create the tax calc in test mode.
No I am using same credienitals for both...
check this code. I am not using different account for both. using same account and passing calculation id to payment intent.
Oh hmm yes i see that same key being used. Interesting. This is probably something my my end sorry about that.
Just trying to think of other possible issues here.
They are using different patterns, the direct charge / stripe_acount pattern for the tax calc, then destination/OBO for the latter
Oh hmm these probably don't match now that i says this
Are you following a guide for this that suggests this arrangement?
what?
I am waiting.
Are you following a guide for building this that explains this is a supported flow? I'm unsure about mixing connected acount calculations and platform on_behalf_of payments.
yes, check this page.
https://docs.stripe.com/tax/tax-for-platforms?charge-type=destination-charges
Thank you -- this is helpful context
Ok, the issue here seems to be with hooks[inputs][tax][calculation]. Your requests pass this but the guide does not.
Is there a reason you're including this in addition to the metadata[tax_calculation]"={{CALCULATION_ID}} indicated?
yes, I am including it in my request, but it is showing the error.
Right, remove that
That link to the tax calculation on the connected account is what i think creates the problem
if I remove this section, then tax related section on transaction page shows nothing.
Not sure what you mean by that, it sounds like a dashboard flow
let me share a screenshot with you.
Note that the guide for destination charges indications you also need to create tax transactions: https://docs.stripe.com/tax/tax-for-platforms?charge-type=destination-charges#payment-intents
You must also create tax transactions to record the tax you collect from customers and account for refunds.
this one.
I have tried with manual tax transaction, then it shows error in payment intent, that the tax transaction is already created
Likely this connect flow isn't supported for that dashboard flow, but if you're finding you cannot complete the steps as indicates here then you'll likely need to contact support for guidance on whether this flow is supported as you're trying to do.
Can you show the example error you refer to when you create the payment intents without hooks and do the manual tax transaction?
is it possible to collect platform fee and deduct VAT/taxes using checkout, because I have tried it using invoices but it is not working, because invoice support one feature at a time. connected account transfer or VAT calculation.
but here transfer amount to connected account is not working.
That seems like a very different question. Can you share the invoice ID?
in_1Rz2MDD1mw6NJ7wCn1inebMD
Hello ๐
I'm taking over as my colleague had to go. Give me a minute to catch up
I'm a little confused by your statement
invoice support one feature at a time. connected account transfer or VAT calculation.
This Invoice was created without specifying a Connected Account, except in the on_behalf_of parameter. What type of Connect Charge are you attempting to make?
Request: https://dashboard.stripe.com/test/logs/req_EvCTcra6Uybum8
platform fee (application_fee)
You did not specify that here
And application fees are used with Direct Charges. You did not make a direct charge
I have mentioned there, but it was showing error. Either I have to add application_fee parameter or destination of connected account
My mistake , either application_fee or tax calculation.
Can you share the request ID for a failing request that has both parameters?
Please provide a request ID. I cannot help with just a screenshot
req_bOz9d8uV2bfpYT
Thank you
Sorry you are creating this request incorrectly
Are you trying to make a Direct Charge while collecting an application_fee?
No, i was trying it.
That is what I just described.
And you are not correctly making this request. You did not specify the stripe_account parameter
let me show you screenshot of my invoice code.
I can see the parameters you passed in your API request
You are not specifying the stripe_account in your request
You need to debug your Invoice code to determine why that is
ok don't close this thread for next 30 minutes. let me retry.
application_fee_amount is not working (not included) in invoice. in_1S04weD1mw6NJ7wC7tXaI940
even it is mentioned in request.
I'm not sure what you mean by application_fee_amount is not included in the Invoice. I'm looking at the Invoice creation request (req_bD2XZgPTjypJgz) and I can see the application_fee_amount.
I means it is not showing in invoice, nor the balance is showing in admin/main account.
hey, I'm here, give me a second
I means it is not showing in invoice
can you be specific, so we're talking about the same thing? What exact object / thing are you looking at?
can you explicitly share the link?
I am trying to deduct platform fee (application fee) and it should be printed on invoice.
that didn't exactly answer my question but are you saying: You are looking at the Invoice PDF and that does not have the application fee amount on it?
because I'm pretty sure that isn't supported. The Invoice won't display the application fee amount, the Invoice is for the end customer. This may be a feature request but pretty certain this isn't supported
@heavy escarp pls respond, or I'll have to close the thread