#joshua_lyon

1 messages ยท Page 1 of 1 (latest)

modest yachtBOT
urban anvil
#

Hello ๐Ÿ‘‹

#

This is something we're currently working on. PaymentElement doesn't yet allow you to retrieve zip on change event.

I suppose the alternative would be to disable the desired fields.billingDetails in the Payment Element and separately recreate those fields,
Yeah the alternative would be for you to collect this info yourself.

If it fits your usecase, you can also use address element
https://stripe.com/docs/elements/address-element

modest yachtBOT
bright frigate
#

Thanks for the feedback.

Unfortunately, the Address Element doesn't seem to support filtering the list of fields. For example, if we wanted to dynamically determine based on the type from the Payment Element change event which fields to display.

That would give us the styling, locale, and other great features that come from Elements. It would still leave us with the issue of fitting it into the overall UI so, for example, the Country and Zip input didn't come after a displayed text Mandate.

I was really hoping to avoid a 2-step process to minimize friction too. ๐Ÿ˜ฆ

Are there any plans for a beta of the Payment Element that would support retrieving or listening to events to get the zip code?

Just trying to get a feel for what I should plan on doing: ๐Ÿ™‚

  1. Holding off on the change from Card โ†’ Payment element
    • Either for a beta or proper long-term solution
  2. Use one of the less-than-ideal approaches
torpid wing
#

Looking in to whether there is a beta for that upcmoing functionality and will get back to you

#

Unfortunately I haven't been able to find a specific timeline for this but I can reach out to colleagues who may have a better idea. If you want, we can start up an email thread and I can follow up with you on a potential timeline through there

bright frigate
#

Sure. I already have a support ticket... let me see if I can figure out how to identify the ticket # or reference. It just looks like a normal email. ๐Ÿ™‚

torpid wing
#

Can you DM me your email address? I should be able to look it up through that

bright frigate
#

Sure.