diff --git a/.travis.yml b/.travis.yml index 3d7f5a29bfee..3cb3e76d1f10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -110,10 +110,10 @@ after_script: - mysql -u root -e 'select * from account_gateways;' ninja - mysql -u root -e 'select * from clients;' ninja - mysql -u root -e 'select * from contacts;' ninja - - mysql -u root -e 'select * from invoices;' ninja + - mysql -u root -e 'select id, account_id, invoice_number, amount, balance from invoices;' ninja - mysql -u root -e 'select * from invoice_items;' ninja - mysql -u root -e 'select * from invitations;' ninja - - mysql -u root -e 'select * from payments;' ninja + - mysql -u root -e 'select id, account_id, amount, transaction_reference from payments;' ninja - mysql -u root -e 'select * from credits;' ninja - mysql -u root -e 'select * from expenses;' ninja - mysql -u root -e 'select * from accounts;' ninja diff --git a/app/Services/PaymentService.php b/app/Services/PaymentService.php index 8c29bf53961e..386755926cbc 100644 --- a/app/Services/PaymentService.php +++ b/app/Services/PaymentService.php @@ -135,11 +135,9 @@ class PaymentService extends BaseService } try { - \Log::info('paymentDriver->completeOnsitePurchase'); return $paymentDriver->completeOnsitePurchase(false, $paymentMethod); } catch (Exception $exception) { if (! Auth::check()) { - \Log::info('error: ' . $exception->getMessage()); $subject = trans('texts.auto_bill_failed', ['invoice_number' => $invoice->invoice_number]); $message = sprintf('%s: %s', ucwords($paymentDriver->providerName()), $exception->getMessage()); $mailer = app('App\Ninja\Mailers\UserMailer');