Split off from T406505: small # of Adyen ApplePay contribs missing country in Civi
@krobinson asked: Thinking about this task and others one about contributions missing PII (https://phabricator.wikimedia.org/T411811 as a recent example), is there any way to make an alert in Civi if donations come in without basic info that every donation should have, like name, email, country, amount, currency?
I think we would want to limit this, at least to start, to online donations (not imported or added manually as these might not have a country and so on) and only first recurring donations (as country can be removed, etc).
I don't think we require a name as some of your RML donors don't have anything other than an email address (e.g. donations without name from today).
We can check for primary email, that amount is not $0, that primary address country is not empty and that original currency if not empty (this is the field we use for the calculated fields). Is there anything else we'd like to check?
A few implementation details thanks to @Cstone:
Financial type = cash is a one time, type = recurring gift is the first recurring, and type = recurring gift - cash is a subsequent recurring
Source Name = DonationInterface or SmashPig or Source type = Audit should capture all the donations we are interested in (regular, IPN, audit).