Page MenuHomePhabricator

[M] Locally track WebPay donations
Closed, ResolvedPublic

Description

Background

The Apps team is building a year-end report that shows App users a summary of their recent engagements with Wikipedia and the App. We plan to have a section of the feature recognize past donors for their contributions, and invite readers to donate to the Wikimedia Foundation. To effectively do this, the feature will need to know which users have donated recently.

We have already added tracking for Native Payments (T372343), and this is the task to add the equivalent tracking for Web payments. Web payments made up 38% of payments during Big English last year. Ideally this tracking is in place before the end of November.

Required
  • Record successful non-native (WebPay) donations locally in a similar way to ApplePay donations
  • Allow users to clear their "in-app" or "local" donation history in Settings

Event Timeline

Tsevener renamed this task from Locally track WebPay donations to [M] Locally track WebPay donations.Oct 8 2024, 7:20 PM
HNordeenWMF raised the priority of this task from Low to Medium.Oct 22 2024, 9:09 PM

@Mazevedo logged-out users cannot currently clear their donation history, because we nested it under "account" with the original ApplePay task T372343. What is the level of effort to move that setting to under "Privacy and Terms" in the main settings screen? (Wondering if it can be done as part of this task).

Hi Haley! Not too hard to move that to another section. That PR was already merged, but we can move the ticket back to Ready for Dev so I can do this update before going to QA

Looking good to me. Made 2 test donations:

  • Donate via WebPay (credit card) > Return to article > See Toast > Seeing local donation history in settings
  • Donate via WebPay (ApplePay) > Don't return to article > Close & Reopen app > Seeing local donation history in settings