From 80bc6cec2b0d84f5a6a1c37f446689fc9cb9cd78 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 096e45e65254..fa74254b9285 100644 --- a/CRM/Member/Form/MembershipRenewal.php +++ b/CRM/Member/Form/MembershipRenewal.php @@ -529,6 +529,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