#MathewY-checkout-automatic-tax

1 messages · Page 1 of 1 (latest)

split wharf
#

👋 Happy to help

dark vapor
#

Sure, I believe this is it req_QZBmDF5GP3HrlJ

split wharf
#

Thanks for sharing

dark vapor
#

Oh ok, I see, so price is something that's setup within Stripe that has an ID such as price_H5ggYwtDq4fbrJ. Is there any way to have automatic tax collection with the other way where I just pass in an amount? I am passing in all of the product data such as product name, title, amount, image all in the API rather than storing them with Stripe

#

Similarly I was going to ask a follow up question if I could just pass in a discount amount/percentage without having to separately make the discount on Stripe's end with a separate API

#

If we have to do multiple requests to Stripe that slows down the application

split wharf
#

With ad-hoc price, you don't have to create a Price ID upfront and it can be set directly during Checkout Session creation