Page MenuHomePhabricator

[S] Send users directly to web when we do not support Native ApplePay
Closed, ResolvedPublic1 Estimated Story Points

Description

Background

We are planning to run banners in the Apps in India this fall. We do not support Native payment through Adyen for India.

Task

Reference

Equivalent task for Android/GPay: T373410

Engineering Notes

We are already hardcoding a blocked country in the app. we want to switch to making it dynamic and considering an allowlist from the config's countryCodeApplePayEnabled key.

  1. Modify the config model to pull the new key and its values.
  2. Replace block logic here with logic that checks the WMFDonateDataController donate config's allow list.

The country code is based on the device's region code (iOS Settings > General > Language and Region > Region. Set it to a blocked country, then test by going to App settings and confirm you are sent straight to a web view (i.e. no native Apple Pay option) after tapping "Donate".

QA notes:

  • Switch regions (instructions above) to several different countries/regions that do or do not accept Apple Pay and verify that it goes to web automatically when Apple Pay is not available

Event Timeline

HNordeenWMF renamed this task from Only show ApplePay for allowed countries to Send users directly to web when we do not support Native ApplePay.Aug 27 2024, 12:34 AM
HNordeenWMF updated the task description. (Show Details)
HNordeenWMF updated the task description. (Show Details)
Tsevener renamed this task from Send users directly to web when we do not support Native ApplePay to [S] Send users directly to web when we do not support Native ApplePay.Aug 28 2024, 7:16 PM
Tsevener subscribed.

Kinda between Small to Medium if unexpected things pop up. If we avoid the config, hardcoding it would be XS.

Seddon set the point value for this task to 1.Aug 29 2024, 12:32 PM