#uncle-iOS
1 messages ยท Page 1 of 1 (latest)
hi @austere warren
just updated my message with some questions
We are looking for a way to remove bottom two fields for region and postal code
Got them!
- You can consider using
STPCardFieldView, it's a simple version and doesn't show the address fields - I'll need to check the doc, one sec
- Yes (looking for the doc)
yeah, we are using that field previously, but we would like to make it more as a form rather than a single text field
I'm looking at the source code 21.12.0
the only public constructor is this one
which disabled card scanning
Yes, I guess you found it before me ๐
these two are not publicly exposed
LOL, spent some time on it already
seems like it was designed to support those features we would like, but somehow not exposed ๐ค
https://stripe.dev/stripe-ios/docs/#card-scanning seems like the card scanning is for PaymentSheet, not yet made available to STPCardFormView
Yup I found the same thing as you did. I'll recommend to create a github ticket and give your feedback to the Stripe iOS team directly.
TBH, all we need is just this part from PaymentSheet
To my best knowledge, the STPCardFormView doesn't have an option to remove the address yet.
you meant this? https://github.com/stripe/stripe-ios/issues
I guess we could fork it ๐ค
Yes, Stripe iOS team check the issues here regularly.
I won't recommend that, the Stripe iOS team update the SDK quite frequently.
๐
kk, I will pass these questions over there then! Thanks @austere warren
Happy to help ๐