Page MenuHomePhabricator

Recurring upgrade payments missing Gravy backend processor info.
Closed, ResolvedPublic

Description

@RKumar_WMF noticed that some gravy transactions were missing the backend processor details in Superset. After digging into an example, it looks like the donor initially donated with a one-time donation and then opted into the recurring upgrade, which creates a new recurring subscription, and payments taken against this subscription do not record the backend processor.

Let's see if we can fix this.

Event Timeline

I'm going to upgrade the SmashPigRecurringProcessor to pull in the backend processor fields if present during the recurring charge stages and supply the additional data to the code that records the payment, which should hopefully fix the issue.

We can backfill the missing data with an upgrade script.

Change #1105729 had a related patch set uploaded (by Jgleeson; author: Jgleeson):

[wikimedia/fundraising/crm@master] WIP: Add in backend processor fields if present for smashpig recurring charges.

https://gerrit.wikimedia.org/r/1105729

Change #1105729 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add in backend processor fields if present for smashpig recurring charges.

https://gerrit.wikimedia.org/r/1105729