#tm_tax-paymentintent

1 messages ¡ Page 1 of 1 (latest)

gritty tapirBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1491560667004534915

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

late depot
#

tm_tax-paymentintent

#

@solid star I admit I don't really follow your question. You talked about multiple different products and I'm a bit lost. Can you provide a higher level summary of which product(s) you really use with Stripe so I can understand?

solid star
#

the context is an e-commerce site. Usually a customers pays for line items within a Checkout Session and that Checkout Session is able to have AutomaticTax: true and a PaymentIntent. The end result is there is a Payment Intent, Tax Transaction (linked from the Payment page on the stripe dashboard), and a list of Line Items on that same Payment page (the things paid for)

#

Instead of charging on day one, I am using a mode: "setup" Checkout Session that only captures a Payment Method for use later

late depot
#

okay so you don't use Checkout for the payment and the tax calculation in that case right? If not, what exactly do you use?

solid star
#

so my most recent attemp was to use V1TaxCalculations.Create( and then make use of the hooks on a PaymentIntent to attach the tax calculation (that's the code snippit up top)

#

I am hoping that results in a Tax Calculation/Tax Transaction that is attached to the off-session payment

#

does that make sense?

late depot
#

yes but the information would be on the Tax Calculation itself. So what isn't working exactly?

solid star
#

could I get back to you with more information tomorrow? I can try to roll out my most recent attempt and see if it connects the Tax Transaction to the Payment Intent (I had to upgrade the stripe client to get access to Hooks:)

#

do you expect it to attach a Tax Transaction to the Payment Intent in the stripe dashboard with the little code snippit I put up top?

late depot
#

Not sure about the Dashboard, I only look at the API unfortunately. But sure, you can come back tomorrow and start a new thread with all the details and we'd be happy to help!

solid star
#

can do, thanks for your time