Looking at logs on the payments servers, I noticed that WikipediaApp iOS and iPadOS clients tend to make the same GET request to api.php multiple times (typically 3) in the same second. The triple-hit doesn't seem right, is this expected or a bug?
Testing Notes
Please regression test the donate flow and confirm you can still reach the Apple Pay donate form. To Test:
- Change device region in iOS Settings to Japan or Spain.
- Change device date in iOS Settings to line up with Japan or Spain's campaigns
- Ensure you have an card already set up in the Wallet app.
- Fresh install the latest Staging Test Flight build. Launch app. On Explore feed, background the app, then foreground, then pull to refresh on Explore to force the app to fetch campaign data.
- Visit an article on EN Wikipedia. You should see a campaign modal appear. Tap Donate. You should see an action sheet asking if you want to donate via Apple Pay or other payment method. Tap Apple Pay. Confirm you see the Apple Pay native donate form.
- Tap back, then go to app Settings and tap donate. Confirm you see the same action sheet as in step 5. Tap Apple Pay. Confirm you see the Apple Pay native donate form.