From d31d85e5a0cb46ac87a7e224ae5e0f2764d6a5f8 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 24 May 2019 12:28:00 +1200 Subject: [PATCH] Fix test / possible live error on submitting credit card renewals --- CRM/Member/Form/MembershipRenewal.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Member/Form/MembershipRenewal.php b/CRM/Member/Form/MembershipRenewal.php index a8e9f8504639..4c984618d31f 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -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