#garymoon
1 messages · Page 1 of 1 (latest)
There's billing details on the payment element, which handles address: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-customized_fields-fields-billingDetails
Tax ID doesn't have a corresponding field/method, so that would need to be acquired via a custom form ahead of the Payment Element
Yeah thanks two-shoes. Unfortunately, since those can't be force-enabled, they're also of no use. If an American company requires their address be displayed on invoices, we're out of luck.
For Stripe customers who do international B2B business, how would they collect this information from customers? Implementing address and tax ID collection with all the national variations is a huge undertaking.
Ahhh, I see. Yeah, unfortunately there isn't a force function for requiring that info as far as I'm aware. To accomplish this you would have to create a custom form.
That's what I imagine most other folks are doing, though it seems unlikely that they wouldn't know specifically what they need to collect from each international country, since most countries have some TIN equivalent and the address formatting is fairly similar regardless of where they're dommiciled.
I'm thinking we create the customer and process payment, then redirect them to the portal to fill out the address and tax ID if they want to enter it. Does that sound reasonable?
I would imagine that would work. I wasn't sure if you needed to make sure you had address/tax ID prior to accepting payment, but if you don't then that seems like the ideal setup
We could always create the customer via the API first, optionally direct to portal if necessary, then accept payment, though that seems awfully weird admittedly lol
On the other hand, since those elements aren't optional per session in the payment link, we'd be making a LOT of people fill it out for no reason 🤷♂️
Yeah, you would want to know ahead of time who must fill out the info and who wouldn't, so accepting payment up-front might not be a bad idea
Thanks two-shoes!