#day_paymentintent-confirm
1 messages ¡ Page 1 of 1 (latest)
đ 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/1245043709318270976
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
i am assuming that i need to send the elements to the backend, but i'm not sure to which parameter
@blissful flax You can't confirm a PaymentIntent server-side like this with payment_method_data unless you send raw card details (which you shouldn't do). So remove payment_method_data entirely, and confirm: true and instead confirm that PaymentIntent client-side for example with PaymentElement
day_paymentintent-confirm
ok, so i should not send the billing details to the backend either?
the billing details should be associated with the PaymentMethod so it's usually passed client-side during confirmation
ok that makes sense then. i will try this
is there an api in stripe that will automatically calculate tax?
based on address
thanks
last question i think, can i send metadata on payment confirmation?
no, it's something you set on creation instead