Fixes for gocardless events
This commit is contained in:
parent
073fb54035
commit
38b77e72fe
2 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue