We have a new recurring contribution that isn't being entered into Civi. In the ConfigAndLog log I see "Could not find contribution record 20874". In the nginx logs I see that that number is being passed from PayPal as contributionID.
POST /sites/all/modules/civicrm/extern/ipn.php?reset=1&contactID=10132&contributionID=20874&module=contribute&contributionRecurID=25&contributionPageID=2 HTTP/1.1
Of course, that id is not in the contribution table. After looking at ones that worked it looks like the contributionID sent from PayPal is that of the first contribution of the recurring contributions.
Unfortunately, this error wasn't noticed right away so I can't see if there were any other errors when it was first created.
So can I just manually create a record in contributions with that id and have it work? What is it looking for in that record? (Well, I'd enter a payment for that person and change the id and anything else it is looking for.)
We don't want to have the person cancel the recurring and do it again. It's bad form to ask a donor to redo their payments. They might just cancel and not redo it.