Skip to content
Snippets Groups Projects
Unverified Commit 9a4884ed authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #19407 from eileenmcnaughton/anet

Remove call to loadRelatedObjects
parents f1e6d507 be2b08d4
Branches
Tags
No related merge requests found
......@@ -37,6 +37,7 @@ class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN {
* @return bool|void
*
* @throws \CiviCRM_API3_Exception
* @throws \API_Exception
*/
public function main() {
try {
......@@ -74,9 +75,6 @@ class CRM_Core_Payment_AuthorizeNetIPN extends CRM_Core_Payment_BaseIPN {
throw new CRM_Core_Exception("Could not find contribution recur record: {$ids['ContributionRecur']} in IPN request: " . print_r($input, TRUE));
}
$ids['paymentProcessor'] = $paymentProcessorID;
$contribution->loadRelatedObjects($input, $ids);
// check if first contribution is completed, else complete first contribution
$first = TRUE;
if ($contribution->contribution_status_id == 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment