Skip to content
Snippets Groups Projects
Commit 2fa3273e authored by jaapjansma's avatar jaapjansma
Browse files

Fixed issue #2449

parent 8c51c392
Branches
Tags
No related merge requests found
......@@ -2772,10 +2772,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
if (!empty($form->_paymentProcessor)) {
$contributionParams['payment_instrument_id'] = $paymentParams['payment_instrument_id'] = $form->_paymentProcessor['payment_instrument_id'];
}
// @todo this is the wrong place for this - it should be done as close to form submission
// as possible
$paymentParams['amount'] = CRM_Utils_Rule::cleanMoney($paymentParams['amount']);
$contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution(
$form,
$paymentParams,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment