#smriti15s
1 messages ยท Page 1 of 1 (latest)
Good question, looking in to this and will get back with what I can find
Sure thanks.
Ah, if you are defining shipping rates, you will want to set their tax_behavior to exclusive here https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-shipping_options-shipping_rate_data-tax_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes. I have done this. But still it's not applying %age defimed on tax rates to applied on shipping.
@vale mango Do you have an example cs_xxx ID?
$188.20 includes 10% sales tax on the shipping rate (it's just not shown as a line item)
Sorry, my misunderstanding
np
tax_behavior: 'exclusive',
tax_code: 'txcd_10101000'
This is what i Used in checkout api.
I believe that should be tax_code: txcd_92010001: https://stripe.com/docs/payments/checkout/shipping#shipping-rate-with-tax-code
trying
cs_test_a1gLltTWWeB75TRFKsOZoCPriwGUOoB9PzzDMxNS7Da70e3aL0ceCbwfgc
same behaviour
I tried few of them, same behaviour with all.
I want to know which tax_category to use in rder to apply the same tax rate defined in tax rates.
You still used txcd_10101000 there:
shipping_rate_data: {
display_name: "Postage Amount",
tax_code: "txcd_10101000",
type: "fixed_amount",
fixed_amount: {
amount: "1000",
currency: "AUD"
},
tax_behavior: "exclusive"
}
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
ok checiking again
cs_test_a1kvQlia7FlvPEWivZgxFNExPoDbwbAAiklD4P0aqurN9AZtqkO50ne2cY
now
I'm beginning to think that tax is only calculated on shipping rates via Stripe Tax, and not if you're using Tax Rate objects
So, not possible by tax rates?
๐ stepping in as yynoj needs to step away
ok
Yep so as stated above, tax rates aren't supported for Shipping. Tax codes are only relevant for using Stripe Tax.
any alternative?