#uncle-iOS

1 messages ยท Page 1 of 1 (latest)

austere warren
#

Hi there, how can I help?

lost scroll
#

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

austere warren
#

Got them!

  1. You can consider using STPCardFieldView, it's a simple version and doesn't show the address fields
  2. I'll need to check the doc, one sec
  3. Yes (looking for the doc)
lost scroll
#

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

austere warren
#

Yes, I guess you found it before me ๐Ÿ™‚

lost scroll
#

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 ๐Ÿค”

austere warren
lost scroll
#

right, thats less important in our list tho, thanks!

#

how about other customisation?

austere warren
#

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.

lost scroll
#

TBH, all we need is just this part from PaymentSheet

austere warren
#

To my best knowledge, the STPCardFormView doesn't have an option to remove the address yet.

lost scroll
#

I guess we could fork it ๐Ÿค”

austere warren
#

Yes, Stripe iOS team check the issues here regularly.

lost scroll
#

which I guess is also not recommended

#

๐Ÿคฃ

austere warren
#

I won't recommend that, the Stripe iOS team update the SDK quite frequently.

#

๐Ÿ™‚

lost scroll
#

kk, I will pass these questions over there then! Thanks @austere warren

austere warren
#

Happy to help ๐Ÿ™‚