#0x4ete

1 messages ยท Page 1 of 1 (latest)

random ruinBOT
summer nexus
#

Hi ๐Ÿ‘‹ the "better" approach is largely going to depend on other factors around the flow, and what behavior will best feed into those. I think you'll be best suited to decide that, but I'm happy to help answer any questions you have while thinking through that.

One approach comes with less catalog maintenance, but likely also less reusability of the same Price/Product objects which could make metrics/reporting challenging.

When creating Price/Product objects adhoc via a Checkout Session. You can specify tax_behavior in price_data.tax_behavior (for an adhoc Price):
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-tax_behavior

And tax_code via price_data.product_data.tax_code for an adhoc Product:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-tax_code

quartz spear