verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
93 stars 69 forks source link

Payment Field: Stripe: Hide Postal Code setting not respected #1950

Open adrianjean opened 1 week ago

adrianjean commented 1 week ago

Describe the bug

I have a payment field in a Formie form that is connected to Stripe. In the settings for the payment field, I have turned ON the setting to "Hide ZIP / Postal Code" However the Stripe rendered credit card payment form on the front-end still shows a Postal Code field.

Steps to reproduce

  1. Create a form
  2. Add a Payment field and connect it to stripe
  3. Set the "Hide ZIP / Postal Code" switch to ON
  4. Review in front end and note the Zip code field is still being rendered.

Form settings

Craft CMS version

5.2.2 Pro

Plugin version

3.0.0-beta.15

Multi-site?

Yes

Additional context

No response

engram-design commented 1 week ago

This is actually a good point now we have migrated to the Payment Element rather than the Card Element to facilitate non-credit card payment methods. I don't believe there's a way to disable this with the payment element, so I will likely remove this setting now.

As for why it's shown (it isn't for me), I believe it's contextual based on your Stripe account, location and billing details.