#bchirlinn

1 messages · Page 1 of 1 (latest)

rare lavaBOT
twilit tapir
#

Hello! Yep, that's correct. You can get the provided zip code (if there is one) on the Payment Method that's eventually generated later, but you can't get it from the Payment Element itself.

robust quail
#

o so I can get it off the method but only if I'm saving it for future usage? My specific use case is I'm using the react CardElement to capture a user's card information and was hoping to avoid having to dupe the zipcode field essentially

twilit tapir
#

This has nothing to do with future usage.

#

You can avoid the duplicate zip code field by doing what I indicated above.

robust quail
#

ok thanks

twilit tapir
#

You create your own zip code field, you turn off the zip code field in the Payment Element, then you pass the zip code you collect when confirming.