Skip to content

Commit

Permalink
CRM-20264: handle submission of CC type and number during 'record pay…
Browse files Browse the repository at this point in the history
…ment'
  • Loading branch information
monishdeb authored and colemanw committed Apr 24, 2017
1 parent e855ea6 commit 45e1d5f
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 @@ -357,10 +357,10 @@ public function submit($submittedValues) {
// process credit card
$this->assign('contributeMode', 'direct');
$this->processCreditCard($submittedValues);
$submittedValues = $this->_params;
}

$defaults = array();
$submittedValues = $this->_params;
$contribution = civicrm_api3('Contribution', 'getsingle', array(
'return' => array("contribution_status_id"),
'id' => $this->_contributionId,
Expand Down

0 comments on commit 45e1d5f

Please sign in to comment.