Page MenuHomePhabricator

Are PayPal refunds for recurring donations incorrectly being tagged as EC or vice versa?
Closed, ResolvedPublic4 Estimated Story Points

Description

See for example https://civicrm.wikimedia.org/damaged/26130

The refund message is tagged with gateway paypal_ec, so the refund consumer is looking for something with trxn_id=PAYPAL_EC <parent_id>. That doesn't exist, but RECURRING PAYPAL <parent_id> does.

This recent refund should have been marked paypal_ec:
https://civicrm.wikimedia.org/damaged/26867

Related Objects

Event Timeline

Ejegg renamed this task from Are PayPal refunds for recurring donations incorrectly being tagged as EC? to Are PayPal refunds for recurring donations incorrectly being tagged as EC or vice versa?.Jul 21 2017, 9:58 PM
Ejegg triaged this task as High priority.
Ejegg updated the task description. (Show Details)

Change 366976 had a related patch set uploaded (by Ejegg; owner: Ejegg):
[wikimedia/fundraising/SmashPig@master] WIP Tag refunds with correct paypal gateway

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

Change 366976 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Tag refunds and chargebacks with correct paypal gateway

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

@XenoRyet want to try clearing out the 'damaged' table by swapping paypal and paypal_ec on the NO_PREDECESSOR refunds?

Or not. Looks like they all went back to the damaged table.

From recent failmail looks like there is more than one reason code that means 'refund' and also our assumptions about what a legacy message looks like are no longer true.

Change 374913 had a related patch set uploaded (by XenoRyet; owner: XenoRyet):
[wikimedia/fundraising/SmashPig@master] WIP Fix PayPal Gateway Tagging

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

Change 374913 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Fix PayPal Gateway Tagging

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

XenoRyet set the point value for this task to 4.