#Nik-checkout-tax

1 messages ยท Page 1 of 1 (latest)

frank sapphire
#

๐Ÿ‘‹ Happy to help

vocal sonnet
#

The session only provides
"total_details": {
"amount_discount": 0,
"amount_shipping": 0,
"amount_tax": 410,
"breakdown": null
}
How can I find tax type & rate?

frank sapphire
#

What kind of tax type are you referring here?

#

Oops sorry! I just noticed the breakdown is null here

vocal sonnet
#

that's right. If I set my tax to UK & AU. I do have no idea what tax type is

#

unless, I check customer address or calculate tax percentage

frank sapphire
#

Can you share a sample checkout session or payment intent ID?

vocal sonnet
#

cs_test_a1Y1lQ0TrKEB1m6xVqIp3W4ilBee09LN81PsOnoBRT2DzxxkoYcklHI09v

frank sapphire
#

I'm checking with coworker whether this is any way to obtain tax information from the given checkout session ID

#

It'll include tax type and percentage

vocal sonnet
#

When I handle Events.CheckoutSessionCompleted, the session object has breakdown is null.

frank sapphire
vocal sonnet
#

Ok. Thanks

frank sapphire
#

No problem ๐Ÿ™‚