dev/financial#152 Pass contribution directly to completeOrder
authoreileen <emcnaughton@wikimedia.org>
Sat, 10 Oct 2020 19:53:45 +0000 (08:53 +1300)
committereileen <emcnaughton@wikimedia.org>
Sat, 10 Oct 2020 19:53:45 +0000 (08:53 +1300)
commitfedc226fd832ceb9d5d026364de3d35dcc4e18fb
treef1342b458dffb984ba97203faac91c9fbe36f379
parent6ed4a2747ba8ddd5ba9020adb4a54b15db9fb886
dev/financial#152 Pass contribution directly to completeOrder

We have done quite a a bit of cleanup on this and the only value in objects now used is
contribution - this is really explict in the code as we actually unset objects after
extracting contribution.

This alters the function signature such that it receives contribution directly rather than
in an array
CRM/Contribute/BAO/Contribution.php
CRM/Core/Payment/AuthorizeNetIPN.php
CRM/Core/Payment/BaseIPN.php
CRM/Core/Payment/PayPalIPN.php
CRM/Core/Payment/PayPalProIPN.php
CRM/Event/Form/Task/Batch.php
api/v3/Contribution.php