#lennartzellmer-payment-sheet-billing

1 messages · Page 1 of 1 (latest)

mild swan
#

Hey! Don't believe there's support for billing address capture with the Payment Sheet - but let me confirm

mild swan
dawn dragon
#

Yes the object is there, but we don't know how to convince the sheet to display it 😄
It's not documented anywhere.

#

There is that:

PaymentSheet Configuration
var billingAddressCollectionLevel: BillingAddressCollectionLevel = .automatic

But is isnt a public API

mild swan
#

Hmm, let's see

#

Can you share the code where you're invoking the Payment Sheet

dawn dragon
#

var configuration = PaymentSheet.Configuration()

paymentSheet = PaymentSheet(setupIntentClientSecret: secret, configuration: configuration)
paymentSheet?.present(from: viewController, completion: { result in
switch result {
case .completed: