#BoB

1 messages ยท Page 1 of 1 (latest)

dry slateBOT
signal valley
#

Hi there, so you are looking a solution to let Stripe automatically apply the tax_rate based on the customer's location and various inputs, am I right?

late prism
#

yes and no...i cannot use the country of the customer, so i cannot use billing addresses

signal valley
#

I'll recommend you to take a look at Stripe tax and see if it can solve your problem

late prism
#

i cannot use stripe tax because tax_id comes from the country and i'ts collected from billing address of the customer.

#

i have to pass the country from my back end , i thinking on using metadata of paymet intent metadata

signal valley
#

If you can't use Stripe tax, then you need to apply the appropriate tax_rate by yourself

late prism
#

but i don't really know if i have to use checkout.session or paymentintent and which is the appropriate parameter to pass to the object

#

i mean i know that the paramter to pass is the one that i have on my backend, but i don't know which parameter of the object i have to populate to process correct payment with the right price and tax

signal valley
late prism
#

thank you appreciate that ๐Ÿ™‚

#

so thrugh checkout session i can pass the price too?

signal valley