Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postal code #29

Open
heliahk opened this issue Nov 22, 2021 · 1 comment
Open

postal code #29

heliahk opened this issue Nov 22, 2021 · 1 comment

Comments

@heliahk
Copy link

heliahk commented Nov 22, 2021

hi
I want to remove postal code...
please help me!

@OptimusCenturio
Copy link

OptimusCenturio commented Feb 17, 2022

Hi,
I see the issue is not closed so here's what you need to do to remove the postal (zip) code from all forms:

Android

Add the following to "android/src/main/kotlin/com/dormmom/flutter_stripe_payment/activity/PaymentActivity.kt" after line 52:
cardInputWidget.setShouldShowPostalCode(false)

iOS

Add the following to "ios/Classes/SwiftFlutterStripePaymentPlugin.swift" after line 125:
STPPaymentConfiguration.shared.requiredBillingAddressFields = .none

hi
I want to remove postal code...
please help me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants