The Shipping view controller has a button "Use billing" that will copy the billing address of a card, to avoid the user needing to enter that information twice when e.g. going through the flow of using the STPPaymentContext to complete a payment. For example, with
Summary
The Shipping view controller has a button "Use billing" that will copy the billing address of a card, to avoid the user needing to enter that information twice when e.g. going through the flow of using the STPPaymentContext to complete a payment. For example, with
However, it looks like this only works if using Card objects, and not Source(or PaymentMethods):
https://github.com/stripe/stripe-ios/blob/1c5505f30e035adf482e02112180ff859959a08b/Stripe/STPShippingAddressViewController.m#L51-L56
If you're not using Cards, then the option won't appear, which makes it less convenient for customers to check out.
Code to reproduce
and integrate the STPPaymentContext.
iOS version
11.4
Installation method
Carthage
SDK version
15.0.1
Other information