Bug 267480

Summary: PKPaymentMethod fails strict mode decoding when using private label cards
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: WebKit Misc.Assignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2024-01-12 18:04:41 PST
When using private label cards (such as the TJX card) with Apple Pay on the web, PKPaymentMethod fails strict mode decoding with this error message: ``` NSKU decode failed for object of classes <private>: value for key 'paymentPass' was of unexpected class 'PKPaymentPass' (0x1de85df38) [/System/Library/PrivateFrameworks/PassKitCore.framework]. Allowed classes are: {( "'PKSecureElementPass' (0x1de864310) [/System/Library/PrivateFrameworks/PassKitCore.framework]" )} ``` We should probably fall back to secure mode for the "WebKit running on macOS down-level" configs that will never see the upstream PassKit fix for this bug.
Attachments
Abrar Rahman Protyasha
Comment 1 2024-01-12 18:04:46 PST
Abrar Rahman Protyasha
Comment 2 2024-01-13 11:07:28 PST
EWS
Comment 3 2024-01-16 17:43:13 PST
Committed 273108@main (96136876b937): <https://commits.webkit.org/273108@main> Reviewed commits have been landed. Closing PR #22755 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.