#Gizmo-pe-postal-code
1 messages ยท Page 1 of 1 (latest)
๐ Happy to help
Currently, Payment Element doesn't support pre-filling the postal code.
However, you can
- Disable postal code collection (
billingDetails.address.postalCode='never'): https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-fields-billingDetails-address-postalCode - Submit the postal directly to the
stripe.confirmPaymentcall underbillingDetails.address.postalCode
Interesting idea, thanks River!
No problem! Happy to help ๐