Page MenuHomePhabricator

Google Pay button does not render on iOS in-app browser
Open, HighPublic

Description

While testing Payments from the Wikipedia app, I selected "Other payment method" which led to DonateWiki where I selected to pay using GPay. I was redirected to the payment form but the Google Pay button was not loaded.

Screenshot 2025-12-02 at 14.35.19.png (2×1 px, 215 KB)

Event Timeline

AKanji-WMF moved this task from Triage to Chaos Holding Pen on the Fundraising-Backlog board.

Confirmed, this is happend for me in app but only for gpay.

This may be running up against the same issue we've seen in our ecosystem, which is that Google doesn't allow any payment-related transactions to happen inside a WebView (i.e. a webview controlled by a third-party app like ours), for security purposes. All GPay-related transactions must be done in the official system browser app (Safari on iOS, or Chrome on Android).

Thanks @Dbrant, that's interesting and it could be related from what I've seen online. We could experiment by adding this update to the UserAgent as recommended in the docs to see if it makes any difference, otherwise we might need to take down the GooglePay option for iOS.

Screenshot 2025-12-04 at 15.42.18.png (2×1 px, 385 KB)
Thank you @Tsevener for helping with this. In the meantime @Pcoombe has helped to pull out the option from the DonateWiki page on the Webview using the campaign url parameter, pending the fix. I'd keep an eye on this ticket in order to have the option added back when the fix is released.