diff --git a/app/Models/RecurringInvoice.php b/app/Models/RecurringInvoice.php index 08ba47d65c2b..b3138f7b29e5 100644 --- a/app/Models/RecurringInvoice.php +++ b/app/Models/RecurringInvoice.php @@ -240,8 +240,6 @@ class RecurringInvoice extends BaseModel } - - /* As we are firing at UTC+0 if our offset is negative it is technically firing the day before so we always need to add ON a day - a day = 86400 seconds diff --git a/app/PaymentDrivers/GoCardlessPaymentDriver.php b/app/PaymentDrivers/GoCardlessPaymentDriver.php index e46d419c9fca..59de714057ba 100644 --- a/app/PaymentDrivers/GoCardlessPaymentDriver.php +++ b/app/PaymentDrivers/GoCardlessPaymentDriver.php @@ -245,7 +245,7 @@ class GoCardlessPaymentDriver extends BaseDriver sleep(1); foreach ($request->events as $event) { - if ($event['action'] === 'confirmed' || $event['action'] === 'paid_out') { + if ($event['action'] === 'confirmed' || $event['action'] === 'paid_out' || $event['action'] === 'paid') { nlog("Searching for transaction reference");