CRM-16523 test fix
authoreileenmcnaugton <eileen@fuzion.co.nz>
Tue, 4 Aug 2015 22:15:57 +0000 (10:15 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Tue, 4 Aug 2015 22:15:57 +0000 (10:15 +1200)
CRM/Contribute/BAO/Contribution.php
CRM/Core/Payment/PayPalProIPN.php

index 04c72bc5e3dfcc23d7943045514e5fc9eddae646..ae495441a64868a7bfe11787f9649d382a384f42 100644 (file)
@@ -4044,6 +4044,7 @@ WHERE con.id = {$contributionId}
       'payment_instrument_id',
       'is_test',
       'campaign_id',
+      'receive_date',
     );
 
     $contributionParams = array_merge(array(
index cd1c2a6cf53a0e19bdfef047a45757b373a2502c..0cd114e3b027fb3cc43cdcd71988d0771e5d50d7 100644 (file)
@@ -520,7 +520,7 @@ INNER JOIN civicrm_membership_payment mp ON m.id = mp.membership_id AND mp.contr
     $input['fee_amount'] = self::retrieve('mc_fee', 'Money', 'POST', FALSE);
     $input['net_amount'] = self::retrieve('settle_amount', 'Money', 'POST', FALSE);
     $input['trxn_id'] = self::retrieve('txn_id', 'String', 'POST', FALSE);
-    $input['payment_date'] = self::retrieve('payment_date', 'String', 'POST', FALSE);
+    $input['payment_date'] = $input['receive_date'] = self::retrieve('payment_date', 'String', 'POST', FALSE);
   }
 
   /**