#kellycarpet-elements
1 messages · Page 1 of 1 (latest)
Hi, it's inside the payment_method parameter: https://stripe.com/docs/payments/save-and-reuse?platform=web#confirm-the-setupintent
you will specify billing_details, which has address and postal_code
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
gotcha!
thank you!
i'm just curious, how come it's not a required field? or why isn't there a stripe elements for it
(just noticing that most places i enter my cc i usually enter my zip so i was just surprised it's technically not required)
yeah Element doesn't provide ready-to-use fields for billing address so you would need to collect it yourself
btw the Card Element should have the ZIP collection already (for the Card). So to avoid your customer enter it twice, you would want to disable it
Im trying to use Stripe v3 for payment. The guide is here https://stripe.com/docs/elements
I do not want to collect the zip code. However I cannot figure out how. My HTML is:
<form>
<l...