flutter_stripe
flutter_stripe copied to clipboard
[iOS] Hide country and postal code for CardFormField
Describe the bug CardFormField shows country and postal code regardless of enablePostalCode property To Reproduce Steps to reproduce the behavior:
- Use CardFormField
- enablePostalCode: false
- 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]
I can confirm this on iOS. On Android it works as expected. cc @jamesblasco
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
Same as https://github.com/stripe/stripe-react-native/issues/752 . We can fix this when there is a fix available
any update on this? I'd love to hide country on the cardformfield
same problem here
For full reference we are waiting for https://github.com/stripe/stripe-react-native/issues/1047 to be finished
Hello @remonh87 are you still waiting or any progress? Can you please update us?