Skip to content

Commit

Permalink
Fix test / possible live error on submitting credit card renewals
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Jun 3, 2019
1 parent 857b679 commit d31d85e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Member/Form/MembershipRenewal.php
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,7 @@ protected function submit() {
$this->_params['description'] = ts("Contribution submitted by a staff person using member's credit card for renewal");
$this->_params['amount'] = $this->_params['total_amount'];
$this->_params['payment_instrument_id'] = $this->_paymentProcessor['payment_instrument_id'];
$this->_params['receive_date'] = $now;

// at this point we've created a contact and stored its address etc
// all the payment processors expect the name and address to be in the passed params
Expand Down

0 comments on commit d31d85e

Please sign in to comment.