stripe / stripe-ios

Stripe iOS SDK
https://stripe.com
MIT License
2.13k stars 982 forks source link

[CONSUMERBANK-582] Put bank tab in correct position #4301

Open mats-stripe opened 23 hours ago

mats-stripe commented 23 hours ago

Summary

This updates the payment sheet to place the Instant Debits / Panther bank tab at either the index for link, or in the third / last position. This matches the behaviour we currently have in the web payment elements.

Motivation

CONSUMERBANK-582

Testing

Unit tests added

Config Result
Simulator Screenshot - iPhone 16 - 2024-11-25 at 11 25 59 Simulator Screenshot - iPhone 16 - 2024-11-25 at 11 26 02

Changelog

N/a

github-actions[bot] commented 22 hours ago

⚠️ Public API changes detected:

StripePayments

- get
- }
- public var crypto: StripePayments.STPPaymentMethodCrypto? {
- case crypto
- public var crypto: StripePayments.STPPaymentMethodCryptoParams?
- public init(crypto: StripePayments.STPPaymentMethodCryptoParams, billingDetails: StripePayments.STPPaymentMethodBillingDetails?, metadata: [Swift.String : Swift.String]?)
- public var allResponseFields: [Swift.AnyHashable : Any] {
- get
- }
- public var description: Swift.String {
- @objc get
- }
- public class func decodedObject(fromAPIResponse response: [Swift.AnyHashable : Any]?) -> Self?
- @objc deinit
- public var additionalAPIParameters: [Swift.AnyHashable : Any]
- public class func rootObjectName() -> Swift.String?
- public class func propertyNamesToFormFieldNamesMapping() -> [Swift.String : Swift.String]
- public init()
- @objc deinit

If you are adding a new public API consider the following:

If you are modifying or removing a public API:

If you confirm these APIs need to be added/updated and have undergone necessary review, add the label modifies public API to this PR to acknowledge and bypass this check.

ℹ️ If this comment appears to be left in error, make sure your branch is up-to-date with master.