Version 4.7.13
This commit is contained in:
1 parent
fd22d99e69
commit
7124a02564
954 files changed
+29277
-59308
No files matched your search
@@ -306,10 +306,10 @@ class _BillingAgreement extends \IPS\Patterns\ActiveRecord
|
||||
{
|
||||
$transaction = $this->latestUnclaimedTransaction();
|
||||
}
|
||||
/* If there isn't one yet, it might just be that PayPal hasn't taken it yet. Let it try for up to 5 days before giving up, which is how long PayPal will try for if there's an issue. */
|
||||
/* If there isn't one yet, it might just be that PayPal hasn't taken it yet. Let it try for up to 11 days before giving up, which is how long PayPal will try for if there's an issue. */
|
||||
catch ( \OutOfRangeException $e )
|
||||
{
|
||||
if ( $this->next_cycle->getTimestamp() > ( time() - ( 86400 * 5 ) ) )
|
||||
if ( $this->next_cycle->getTimestamp() > ( time() - ( 86400 * 11 ) ) )
|
||||
{
|
||||
throw new \UnderflowException;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user