From 2db8bc3f7e9d037dede192d92e0bf90b1bb0c884 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Wed, 20 Apr 2016 14:26:07 +0530 Subject: [PATCH] CRM-18434 - First and last names for billing not displayed in confirmation screen --- CRM/Contribute/Form/Contribution/Confirm.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Contribute/Form/Contribution/Confirm.php b/CRM/Contribute/Form/Contribution/Confirm.php index c01b6679cd..3f82d8003c 100644 --- a/CRM/Contribute/Form/Contribution/Confirm.php +++ b/CRM/Contribute/Form/Contribution/Confirm.php @@ -210,11 +210,11 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr if (!empty($this->_paymentProcessor) && $this->_paymentProcessor['object']->supports('preApproval')) { $preApprovalParams = $this->_paymentProcessor['object']->getPreApprovalDetails($this->get('pre_approval_parameters')); $this->_params = array_merge($this->_params, $preApprovalParams); - } - // We may have fetched some billing details from the getPreApprovalDetails function so we - // want to ensure we set this after that function has been called. - CRM_Core_Payment_Form::mapParams($this->_bltID, $this->_params, $this->_params, FALSE); + // We may have fetched some billing details from the getPreApprovalDetails function so we + // want to ensure we set this after that function has been called. + CRM_Core_Payment_Form::mapParams($this->_bltID, $preApprovalParams, $this->_params, FALSE); + } $this->_params['is_pay_later'] = $this->get('is_pay_later'); $this->assign('is_pay_later', $this->_params['is_pay_later']); -- 2.25.1