diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 0f8285a79fbe..e27dba77b232 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -2442,7 +2442,7 @@ protected static function repeatTransaction(&$contribution, $input, $contributio else { $contributionParams['financial_type_id'] = $templateContribution['financial_type_id']; } - foreach (['contact_id', 'currency', 'source', 'amount_level', 'address_id', 'on_behalf', 'source_contact_id', 'tax_amount'] as $fieldName) { + foreach (['contact_id', 'currency', 'source', 'amount_level', 'address_id', 'on_behalf', 'source_contact_id', 'tax_amount', 'contribution_page_id'] as $fieldName) { if (isset($templateContribution[$fieldName])) { $contributionParams[$fieldName] = $templateContribution[$fieldName]; } diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index d5bd619d7a95..74892574f8de 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -1212,7 +1212,7 @@ public function getCancelUrl($qfKey, $participantID) { /** * Get URL to return the browser to on success. * - * @param $qfKey + * @param string $qfKey * * @return string */ diff --git a/CRM/Core/Payment/AuthorizeNetIPN.php b/CRM/Core/Payment/AuthorizeNetIPN.php index 564a9572836f..0a36b3b32860 100644 --- a/CRM/Core/Payment/AuthorizeNetIPN.php +++ b/CRM/Core/Payment/AuthorizeNetIPN.php @@ -84,9 +84,6 @@ public function main() { //load new contribution object if required. // create a contribution and then get it processed $contribution = new CRM_Contribute_BAO_Contribution(); - $contribution->contribution_page_id = $ids['contributionPage']; - $contribution->contribution_recur_id = $ids['contributionRecur']; - $contribution->receive_date = $input['receive_date']; } $input['payment_processor_id'] = $paymentProcessorID; $isFirstOrLastRecurringPayment = $this->recur($input, $contributionRecur, $contribution, $first);