Bug 264826

Summary: [Apple Pay] `continue` and `pay` button types are missing
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: PlatformAssignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED WONTFIX    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Abrar Rahman Protyasha 2023-11-14 10:54:56 PST
https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_css claims that the `-apple-pay-button-type` CSS property accepts the `continue` and `pay` values for specific button types, but local testing indicates that we fall back to the `plain` button type when these properties are used.
Comment 1 Abrar Rahman Protyasha 2023-11-14 10:55:10 PST
rdar://116820183
Comment 2 Abrar Rahman Protyasha 2023-11-14 11:02:27 PST
Pull request: https://github.com/WebKit/WebKit/pull/20495
Comment 3 Abrar Rahman Protyasha 2023-11-14 13:31:37 PST
Closing this bug because we've decided not to implement these two button types in `-apple-pay-button-type` CSS. Support for them exists in the Apple Pay JS SDK instead: https://developer.apple.com/documentation/apple_pay_on_the_web/displaying_apple_pay_buttons_using_javascript