Fix test / possible live error on submitting credit card renewals
[civicrm-core.git] / CRM / Member / Form / MembershipRenewal.php
index a8e9f8504639277c213ac00abec93cf78e6305b2..4c984618d31f36826e161e14fbd22493a08fca58 100644 (file)
@@ -528,6 +528,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form {
       $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