Skip to content

Commit

Permalink
Merge pull request #15579 from mattwire/additionalpayment_fixstatusbo…
Browse files Browse the repository at this point in the history
…unce

Fix parameters for statusBounce in AdditionalPayment
  • Loading branch information
eileenmcnaughton authored Oct 23, 2019
2 parents 6e8b595 + c042247 commit 6974b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contribute/Form/AdditionalPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ public function processCreditCard() {
catch (\Civi\Payment\Exception\PaymentProcessorException $e) {
Civi::log()->error('Payment processor exception: ' . $e->getMessage());
$urlParams = "action=add&cid={$this->_contactId}&id={$this->_contributionId}&component={$this->_component}&mode={$this->_mode}";
CRM_Core_Error::statusBounce(CRM_Utils_System::url($e->getMessage(), 'civicrm/payment/add', $urlParams));
CRM_Core_Error::statusBounce($e->getMessage(), CRM_Utils_System::url('civicrm/payment/add', $urlParams));
}
}

Expand Down

0 comments on commit 6974b5b

Please sign in to comment.