Page MenuHomePhabricator

Get Paypal audit processing Intactable
Closed, ResolvedPublic

Description

Following on from Adyen start paypal (includes moving from python)

https://docs.google.com/spreadsheets/d/1X4hJuZ9N09PRTdVCKAW1G1yXxc4Hp_TPcp7g-QmjayE/edit?gid=0#gid=0

Event Timeline

AKanji-WMF subscribed.

Flagging anyone can work on this

OK we got paypal added to the gravy settlement file (or perhaps we got paypal instead of adyen in the file since there is no adyen in that file)

Here is how it compares to what we need (the adyen audit files have all these things, the gravy audit files have them for adyen, as they are the same files as the adyen ones)

requirementactual
Payout information - Total paid out to each currency we settle ina USD amount only, nothing about the other currencies - unsure how this relates to what is banked - perhaps this is after they were transferred
Batch number -number of the batch - the totals in the contributions are matched to the bank payoutnot present
exchange rate informationOnly present for BRL - which settled to USD
Paypal identifierspresent, different format to adyen, may not be required - TBD
all transaction types - including refunds, chargebacks etconly donations
actual settlement date for each transactionunsure as not sure how they settle (we calculate this for adyen as the date in the file is not the date it settles to us
any fees that are included in the settlement batch in the settlement batch currency? probably? not sure about the currency

So I guess I need to understand what the settled USD amount is equivalent to - my understanding is that we are settled in multiple currencies and then we transfer to our USD account from them - does the

Change #1224165 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/SmashPig@master] Add handling for header and footer rows

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

Change #1224180 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] First pass on Paypal audit process

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

Change #1224233 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/SmashPig@master] Add initial settlement data

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

Change #1224233 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Add initial settlement data

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

Change #1224165 abandoned by Eileen:

[wikimedia/fundraising/SmashPig@master] Add handling for header and footer rows

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

Change #1224180 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] First pass on Paypal audit process

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

Change #1226958 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/SmashPig@master] Add handling for payouts

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

Change #1226982 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Use DB as source of truth for Paypal gateway

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

Change #1226998 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Opps test file in wrong directory

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

Change #1226958 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Add handling for payouts

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

Change #1226982 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Use DB as source of truth for Paypal gateway

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

Change #1226998 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Opps test file in wrong directory

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

Change #1227444 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/SmashPig@master] Stop passing up note from Paypal Audit

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

Change #1227463 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/SmashPig@master] Condense fee rows into associated chargebacks (etc)

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

Change #1227444 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Stop passing up note from Paypal Audit

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

Change #1227463 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Condense fee rows into associated chargebacks (etc)

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

Current status is I have moved the code from python over to php & our audit (reconciliation) process is parsing the paypal STL file with *most* batches passing validation. The missing chargebacks seem to have sorted themselves out as I applied our more recent code to the files but hitting a challenge around paypal grants which are currently missing the transaction ID - https://phabricator.wikimedia.org/T414999

Change #1229943 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Move ignored reconciliation files to an ignored directory

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

Change #1229944 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Move gravy settlement reports to ignored

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

Change #1229945 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Ignore dlocal Cleared.csv files

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

Change #1229943 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Move ignored reconciliation files to an ignored directory

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

Change #1229944 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Move gravy settlement reports to ignored

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

Change #1229945 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Ignore dlocal Cleared.csv files

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

Change #1233864 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@deployment] Load gravy paypal from pending/transactionLog even when paypal id differs

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

Change #1233866 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Load gravy paypal from pending/transactionLog even when paypal id differs

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

Change #1233866 abandoned by Eileen:

[wikimedia/fundraising/crm@master] Load gravy paypal from pending/transactionLog even when paypal id differs

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

Change #1233864 abandoned by Eileen:

[wikimedia/fundraising/crm@deployment] Load gravy paypal from pending/transactionLog even when paypal id differs

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

Change #1233880 had a related patch set uploaded (by Eileen; author: Eileen):

[wikimedia/fundraising/crm@master] Load gravy paypal from pending/transactionLog even when paypal id differs

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

Change #1233880 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Load gravy paypal from pending/transactionLog even when paypal id differs

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

XenoRyet set Final Story Points to 4.