[Ref] Use direct version of participant id
authoreileen <emcnaughton@wikimedia.org>
Fri, 30 Oct 2020 07:19:29 +0000 (20:19 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 30 Oct 2020 07:19:29 +0000 (20:19 +1300)
commit0d74d91cd340b9f1ea2224119c748e372dffe245
tree25d7ae381e30a55e133f2a4a80179cc84d8876f1
parenta61fabf2715f78ddab22096ce34e5cc4c96cb0f9
[Ref] Use direct version of participant id

ids['Participant'] is taken from the url. It is then passed to loadRelatedObjects
where
https://github.com/civicrm/civicrm-core/blob/0bd5e6bfbe8f339dbe066e3e96e00760c93a57e2/CRM/Contribute/BAO/Contribution.php#L2890
loads an object based on it. We then set ids too the object's id - which is a long way around to
using the paramter we started from. This does that
CRM/Core/Payment/PayPalIPN.php