All the tests in
CRM_Core_Payment_PayPalProIPNTest pass through this line
It used to be necessary to reformat dates on a DAO before resaving
- up until 2014
$now = date('YmdHis');
- // fix dates that already exist
- $dates = ['create', 'start', 'end', 'cancel', 'modified'];
- foreach ($dates as $date) {
- $name = "{$date}_date";
- if ($recur->$name) {
- $recur->$name = CRM_Utils_Date::isoToMysql($recur->$name);
- }
- }
-
$sendNotification = FALSE;
$subscriptionPaymentStatus = NULL;
//List of Transaction Type