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
On iPads running iOS 26, the postal/ZIP code field inside STPPaymentCardTextField registers incorrect characters. For example, pressing the delete key appends "2" instead of deleting. The card number, expiry, and CVC fields are not affected — only the postal code field.
See the attached video.
The postal code field is the only sub-field using .numbersAndPunctuation keyboard type (line 860 in STPPaymentCardTextField.swift). All other fields use .asciiCapableNumberPad (line 1580 in STPPaymentCardTextField.swift). We suspect this is related to an iOS 26 keyboard regression affecting full keyboard layouts, but we're looking for a workaround on the Stripe SDK side.
What is blocked by this issue?
Users are unable to enter credit card details.
Code to reproduce
STPPaymentCardTextField wrapped in UIViewRepresentable for SwiftUI
Open a payment flow using STPPaymentCardTextField on an iPad running iOS 26
Enter a valid card number, expiry, and CVC
Tap the ZIP code field
Type digits or press delete on the keyboard
Observe that wrong characters appear (e.g., delete key inputs "2")
Summary
On iPads running iOS 26, the postal/ZIP code field inside
STPPaymentCardTextFieldregisters incorrect characters. For example, pressing the delete key appends "2" instead of deleting. The card number, expiry, and CVC fields are not affected — only the postal code field.See the attached video.
The postal code field is the only sub-field using
.numbersAndPunctuationkeyboard type (line 860 in STPPaymentCardTextField.swift). All other fields use.asciiCapableNumberPad(line 1580 in STPPaymentCardTextField.swift). We suspect this is related to an iOS 26 keyboard regression affecting full keyboard layouts, but we're looking for a workaround on the Stripe SDK side.What is blocked by this issue?
Users are unable to enter credit card details.
Code to reproduce
STPPaymentCardTextFieldwrapped in UIViewRepresentable for SwiftUIiOS version
26.2.1
Installation method
SPM via
stripe-ios-spmSDK version
Stripe iOS SDK: 25.3.1
Other information
IMG_5545.mov