Bug 259940 - supportedCountries only works on ApplePaySession, not PaymentRequest (affects Shopify)
Summary: supportedCountries only works on ApplePaySession, not PaymentRequest (affects...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Abrar Rahman Protyasha
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-08-08 13:01 PDT by Abrar Rahman Protyasha
Modified: 2023-08-11 13:42 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abrar Rahman Protyasha 2023-08-08 13:01:07 PDT
Setting the supportedCountries property on an Apple Pay payment only works when using ApplePaySession, not when using W3C Payment Request. Only the latter one sets supportedCountries on PKPaymentRequest, and filters cards by issuer country, as can be reproduced on https://applepaydemo.apple.com.
Comment 1 Abrar Rahman Protyasha 2023-08-08 13:01:16 PDT
rdar://113557607
Comment 2 Abrar Rahman Protyasha 2023-08-10 16:58:17 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16586
Comment 3 EWS 2023-08-11 13:42:16 PDT
Committed 266829@main (e5afaf96365a): <https://commits.webkit.org/266829@main>

Reviewed commits have been landed. Closing PR #16586 and removing active labels.