You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Overridden method open class func brandImage(for cardBrand: STPCardBrand) -> UIImage? is not called in subclass.
Code to reproduce
import Stripe
import UIKit
final class PaymentCardTextField: STPPaymentCardTextField {
override class func brandImage(for cardBrand: STPCardBrand) -> UIImage? {
nil
}
}
iOS version
13.x
Installation method
SPM
SDK version
21.5.1
Other information
I guess, the issue is with the incorrect method brandImage(for:) call inside STPPaymentCardTextField - should be Self.brandImage(for: ) instead of STPPaymentCardTextField.brandImage(for:).
The text was updated successfully, but these errors were encountered:
Summary
Overridden method
open class func brandImage(for cardBrand: STPCardBrand) -> UIImage?
is not called in subclass.Code to reproduce
iOS version
13.x
Installation method
SPM
SDK version
21.5.1
Other information
I guess, the issue is with the incorrect method
brandImage(for:)
call insideSTPPaymentCardTextField
- should beSelf.brandImage(for: )
instead ofSTPPaymentCardTextField.brandImage(for:)
.The text was updated successfully, but these errors were encountered: