stripe-ios
stripe-ios copied to clipboard
Can you expose `billingAddressCollectionLevel` for PaymentSheet.Configuration
SDK version: 21.5.1 We are using PaymentSheet UI to do a payment. Our requirement is that user must input card address, zip, etc. But billingAddressCollectionLevel is not public, how can I set it for PaymentSheet?
Making this property part of the public API is on our roadmap :) We will update this ticket when it's released
Hi @csabol-stripe do you have any updates in regards to this? Is it also possible to pre populate those fields (defaultBillingDetails) such as is done on the android SDK. https://stripe.dev/stripe-android/paymentsheet/com.stripe.android.paymentsheet/-payment-sheet/-configuration/index.html#1668077536%2FProperties%2F2002900378
As an update
- You can set default billing details on the Configuration
- We are working on adding support for configurable levels of billing address collection, including full billing address.
setting the defaultBillingDetails is not reflecting on the payment sheet UI, when I click to add a new card, I still see Afghanistan as the selected country. sdk version: 23.3.1

output:
country: Optional("Canada")

Hello, this is available as of v23.6.