#jignesh_13529
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- jignesh_13529, 2 days ago, 29 messages
- jignesh_13529, 2 days ago, 3 messages
- jignesh_13529, 2 days ago, 12 messages
Hi
Have you had the chance to check this guide first ?
https://docs.stripe.com/payments/checkout/taxes?tax-calculation=tax-rates
You can create tax rates and use it per item:
https://docs.stripe.com/payments/checkout/taxes?tax-calculation=tax-rates
thats i need to create tax id right, is there way i can add amount with line item array ?
No.
All available fields are in the public API:
https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-line_items
ok so where can i create tax id ?
You cna use the tax api:
https://docs.stripe.com/api/tax_rates
The guide I shared with you earlier, shows step by step how to use Checkotu Sesison with Tax rates:
https://docs.stripe.com/payments/checkout/taxes?tax-calculation=tax-rates
Can you give me example to use line item tax_rate
what have you tried so far based on the documentation and API reference? happy to review the code you tried.
i have try this but its not working
txr_1OmbCAIXLq2YEtbezpnmanyQ i have created form dashboard
what error message do you get?
what is blank?
[22-Feb-2024 12:41:54 Europe/London] PHP Fatal error: Uncaught (Status 400) (Request req_trs5FGXfgHCVVd) Invalid array
this error i am getting
it's just 'tax_rates'=>["tx_xxxx"] there's no id