diff --git a/app/Jobs/Bank/ProcessBankTransactions.php b/app/Jobs/Bank/ProcessBankTransactions.php index d21cf9a62960..ddbeee233ded 100644 --- a/app/Jobs/Bank/ProcessBankTransactions.php +++ b/app/Jobs/Bank/ProcessBankTransactions.php @@ -62,8 +62,8 @@ class ProcessBankTransactions implements ShouldQueue { set_time_limit(0); - //Loop through everything until we are up to date + //Loop through everything until we are up to date $this->from_date = $this->from_date ?: '2020-01-01'; do{ @@ -96,8 +96,6 @@ class ProcessBankTransactions implements ShouldQueue //Get int count $count = $transaction_count->transaction->TOTAL->count; - nlog("Number of transactions = {$count} - bank integration id = {$this->bank_integration->id} - bank account id = {$this->bank_integration->bank_account_id} - from {$this->from_date}"); - //get transactions array $transactions = $yodlee->getTransactions($data); @@ -106,7 +104,6 @@ class ProcessBankTransactions implements ShouldQueue $this->bank_integration->from_date = now(); $this->bank_integration->save(); - nlog("the bank integration from_date being set to: {$this->bank_integration->from_date}"); $this->stop_loop = false; return; } @@ -151,7 +148,6 @@ class ProcessBankTransactions implements ShouldQueue $this->bank_integration->from_date = now(); $this->bank_integration->save(); - nlog("stopping while loop"); } } diff --git a/app/Jobs/Ninja/BankTransactionSync.php b/app/Jobs/Ninja/BankTransactionSync.php index 96d622445c77..d657f4c66843 100644 --- a/app/Jobs/Ninja/BankTransactionSync.php +++ b/app/Jobs/Ninja/BankTransactionSync.php @@ -69,8 +69,6 @@ class BankTransactionSync implements ShouldQueue $account->bank_integrations->each(function ($bank_integration) use ($account){ - nlog("Account = {$account->id} - {$bank_integration->id}"); - ProcessBankTransactions::dispatchSync($account->bank_integration_account_id, $bank_integration); }); diff --git a/app/PaymentDrivers/CheckoutCom/CreditCard.php b/app/PaymentDrivers/CheckoutCom/CreditCard.php index c645eb01e5e9..e5b5d7325ffd 100644 --- a/app/PaymentDrivers/CheckoutCom/CreditCard.php +++ b/app/PaymentDrivers/CheckoutCom/CreditCard.php @@ -91,6 +91,9 @@ class CreditCard implements MethodInterface $gateway_response = \json_decode($request->gateway_response); $customerRequest = $this->checkout->getCustomer(); + + nlog($customerRequest); + $request = $this->bootRequest($gateway_response->token); $request->capture = false; $request->reference = '$1 payment for authorization.';