Apple Pay is only supported in SFSafariViewController (and not in WKWebView). We need to migrate WebKitViewController to use it if we want Apple Pay to work there.
Reference: pbArwn-an-p2#comment-145
Rationale
When trying to upgrade a site's plan and using Apple Pay to check out, we can see a message that reads "This payment type is not supported".
This was reported by @elibud.
Steps to reproduce the behavior
Go to "My Sites"
Pick a site that doesn't have a plan.
Tap on "Themes"
Tap on "Customize"
Tap "CSS"
Tap "Upgrade Now".
Pay for the Upgrade using Apple Pay.
You'll see a message like the one in the image shown above that reads "This payment type is not supported".
Tested on iPhone 11 Max Pro, iOS 13.3.1, WPiOS 14.2
Apple Pay is only supported in
SFSafariViewController
(and not inWKWebView
). We need to migrateWebKitViewController
to use it if we want Apple Pay to work there.Reference: pbArwn-an-p2#comment-145
Rationale
When trying to upgrade a site's plan and using Apple Pay to check out, we can see a message that reads "This payment type is not supported".
This was reported by @elibud.
Steps to reproduce the behavior
You'll see a message like the one in the image shown above that reads "This payment type is not supported".
Tested on iPhone 11 Max Pro, iOS 13.3.1, WPiOS 14.2