flutter_stripe icon indicating copy to clipboard operation
flutter_stripe copied to clipboard

[iOS] Hide country and postal code for CardFormField

Open mrRedSun opened this issue 4 years ago • 7 comments

Describe the bug CardFormField shows country and postal code regardless of enablePostalCode property To Reproduce Steps to reproduce the behavior:

  1. Use CardFormField
  2. enablePostalCode: false
  3. Postal code is shown, tried restarting the app.

Expected behavior The postal code entry is not shown

Smartphone / tablet

  • Device: [iPhone Xs]
  • OS: [iOS 14.7]
  • Package version: [1.3.0]
  • Flutter version [2.2.3]

mrRedSun avatar Sep 08 '21 13:09 mrRedSun

I can confirm this on iOS. On Android it works as expected. cc @jamesblasco

jonasbark avatar Sep 15 '21 11:09 jonasbark

Hello, right now on iOS the CardFormField together with the PaymentSheet allows two options to collect billing information,

  • automatic(default) Collects the minimum information: country, and postal code if needed
  • required. Collects full address information

If you want to see this feature implemented for iOS please consider creating an issue on the official repo https://github.com/stripe/stripe-ios/issues/new

jamesblasco avatar Sep 21 '21 10:09 jamesblasco

Same as https://github.com/stripe/stripe-react-native/issues/752 . We can fix this when there is a fix available

remonh87 avatar Mar 27 '22 13:03 remonh87

any update on this? I'd love to hide country on the cardformfield

mikeandike avatar Oct 07 '22 15:10 mikeandike

same problem here

memishood avatar Oct 25 '22 12:10 memishood

For full reference we are waiting for https://github.com/stripe/stripe-react-native/issues/1047 to be finished

remonh87 avatar Jun 26 '23 18:06 remonh87

Hello @remonh87 are you still waiting or any progress? Can you please update us?

tran-huy-phuc avatar Nov 27 '23 00:11 tran-huy-phuc