dev/core#1679: Ensure Paypal IPN always updates the next scheduled payment date
authoreileen <emcnaughton@wikimedia.org>
Fri, 3 Jul 2020 08:41:29 +0000 (20:41 +1200)
committereileen <emcnaughton@wikimedia.org>
Fri, 3 Jul 2020 09:21:04 +0000 (21:21 +1200)
commit605665c7a3c4804ba8f453341763ffd74a0d48b9
tree1b9de6d55891f64e8a73ff8f74f1db49de5222b5
parent3ac647fa4b7b13dfd07b84a35f80fa7b682832f2
dev/core#1679: Ensure Paypal IPN always updates the next scheduled payment date

This is from https://github.com/civicrm/civicrm-core/pull/16952 and https://github.com/civicrm/civicrm-core/pull/17028

is to not change the scheduled date if it seems to have already been intentionally changed. However, per #16952
time stamps can lead to 'now' being a day in the future - so this loosens the check from equals today to
is less then now + 1 day
CRM/Contribute/BAO/ContributionRecur.php
tests/phpunit/api/v3/ContributionTest.php