Page MenuHomePhabricator

Venmo donations without customer information in Civi
Closed, ResolvedPublic

Description

Similar to the now-closed phab https://phabricator.wikimedia.org/T345965, the latest Venmo test yielded 315 successful donations with 20 of them making it into Civi as anonymous donations. A few had names when I checked the transaction number at the Braintree console while the majority did not. Here's a list of the CIDs for further investigation:
61341292
61341867
61342185
61342280
61342910
61343093
61343589
61343814
61344259
61344486
61345205
61345420
61345640
61346232
61346805
61346876
61347350
61347384
61347897
61347942

Event Timeline

We are not logging the data after fetch will add it, also I will write a script to recover those customer info and fill them back to civi, but the new problem surface from the log is that some of transaction do not even have gateway_session_id, which with out that we can not find the customer info after the authorization.

e.g.:
payments-braintree-20231107.gz:Nov 6 21:41:27 payments1006 braintree_gateway: 195014042:195014042.1 Calling createPayment for Braintree payment with: {"amount":"10.40","country":"US","currency":"USD","description":"Wikimedia Foundation","order_id":"195014042.1","user_ip":"172.59.215.39","device_data":"{\"correlation_id\":\"96eb910a191b90662ff5b8bc1d6d0831\"}","user_name":"@","recurring":1}

Change 975910 had a related patch set uploaded (by Wfan; author: Wfan):

[wikimedia/fundraising/SmashPig@master] Log more detail with no email pass from braintree js

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

greg triaged this task as Medium priority.Nov 21 2023, 11:31 PM

Change 976838 had a related patch set uploaded (by Wfan; author: Ejegg):

[wikimedia/fundraising/SmashPig@master] Fix casing of FetchCustomer

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

Change 976838 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Fix casing of FetchCustomer

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

Change 975910 merged by jenkins-bot:

[wikimedia/fundraising/SmashPig@master] Log more detail with no email pass from braintree js and add maintenance script to refetch

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

XenoRyet set Final Story Points to 8.