Following on from Adyen start paypal (includes moving from python)
https://docs.google.com/spreadsheets/d/1X4hJuZ9N09PRTdVCKAW1G1yXxc4Hp_TPcp7g-QmjayE/edit?gid=0#gid=0
| Eileenmcnaughton | |
| Nov 5 2025, 9:46 PM |
Following on from Adyen start paypal (includes moving from python)
https://docs.google.com/spreadsheets/d/1X4hJuZ9N09PRTdVCKAW1G1yXxc4Hp_TPcp7g-QmjayE/edit?gid=0#gid=0
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Eileenmcnaughton | T409362 Get Paypal audit processing Intactable | |||
| Resolved | Eileenmcnaughton | T415606 Handle paypal recurrings coming in through audit with no transactionLog data |
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)
| requirement | actual |
| Payout information - Total paid out to each currency we settle in | a 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 payout | not present |
| exchange rate information | Only present for BRL - which settled to USD |
| Paypal identifiers | present, different format to adyen, may not be required - TBD |
| all transaction types - including refunds, chargebacks etc | only donations |
| actual settlement date for each transaction | unsure 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
Change #1224180 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/crm@master] First pass on Paypal audit process
Change #1224233 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/SmashPig@master] Add initial settlement data
Change #1224233 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Add initial settlement data
Change #1224165 abandoned by Eileen:
[wikimedia/fundraising/SmashPig@master] Add handling for header and footer rows
Change #1224180 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] First pass on Paypal audit process
Change #1226958 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/SmashPig@master] Add handling for payouts
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
Change #1226998 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/crm@master] Opps test file in wrong directory
Change #1226958 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Add handling for payouts
Change #1226982 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Use DB as source of truth for Paypal gateway
Change #1226998 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Opps test file in wrong directory
Change #1227444 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/SmashPig@master] Stop passing up note from Paypal Audit
Change #1227463 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/SmashPig@master] Condense fee rows into associated chargebacks (etc)
Change #1227444 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Stop passing up note from Paypal Audit
Change #1227463 merged by jenkins-bot:
[wikimedia/fundraising/SmashPig@master] Condense fee rows into associated chargebacks (etc)
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
Change #1229944 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/crm@master] Move gravy settlement reports to ignored
Change #1229945 had a related patch set uploaded (by Eileen; author: Eileen):
[wikimedia/fundraising/crm@master] Ignore dlocal Cleared.csv files
Change #1229943 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Move ignored reconciliation files to an ignored directory
Change #1229944 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Move gravy settlement reports to ignored
Change #1229945 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Ignore dlocal Cleared.csv files
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
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
Change #1233866 abandoned by Eileen:
[wikimedia/fundraising/crm@master] Load gravy paypal from pending/transactionLog even when paypal id differs
Change #1233864 abandoned by Eileen:
[wikimedia/fundraising/crm@deployment] Load gravy paypal from pending/transactionLog even when paypal id differs
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
Change #1233880 merged by jenkins-bot:
[wikimedia/fundraising/crm@master] Load gravy paypal from pending/transactionLog even when paypal id differs