TLDR: There are a ton of dLocal India donors who have not received their thank-you emails because we've tried to send them to the email address dLocal sent us back in IPNs, which is not the same as the initial email the donor submitted when donating, and instead, a made-up @dlocal.com email address.
Samples:
- 207408608
- 204255729
- 191464698
- 191474462
- 191461548
Full:
@krobinson mentioned that a donor enquired why they never received their thank you email. After scanning the weblogs, I found 210878546 and 210878580 related to that donor, and I can see that we sent over the donor's Gmail email address as part of the payment transaction, but then later on dLocal sent us back a new email address in the follow-up IPNs. The email follows a convention of firstname_lastname0000@dlocal.com, and it appears that we're then using this email address to send the thank you email to, which is failing as it doesn't exist.
When grepping the logs from today, I see hundreds of affected donations. To see them, hop on to frlog1002 and run:
grep '"status":"PAID"' --color=always /var/log/remote/payments-listener-dlocal | grep --color=always '"country":"IN"' | grep --color=always 0000@dlocal.com
Update:
This seems to be specific to recurring UPI subscriptions and does not affect one-time UPI payments.