mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on tests
This commit is contained in:
parent
694929cc3d
commit
fcbab2fd02
@ -266,7 +266,7 @@ class BasePaymentDriver
|
||||
|
||||
public function completeOnsitePurchase($input = false, $paymentMethod = false)
|
||||
{
|
||||
$this->input = count($input) ? $input : false;
|
||||
$this->input = $input && $input->count() ? $input : false;
|
||||
$gateway = $this->gateway();
|
||||
|
||||
if ($input) {
|
||||
|
@ -139,7 +139,7 @@ class PaymentService extends BaseService
|
||||
} catch (Exception $exception) {
|
||||
$subject = trans('texts.auto_bill_failed', ['invoice_number' => $invoice->invoice_number]);
|
||||
$message = sprintf('%s: %s', ucwords($paymentDriver->providerName()), $exception->getMessage());
|
||||
$message .= $exception->getTraceAsString();
|
||||
//$message .= $exception->getTraceAsString();
|
||||
Utils::logError($message, 'PHP', true);
|
||||
if (! Auth::check()) {
|
||||
$mailer = app('App\Ninja\Mailers\UserMailer');
|
||||
|
Loading…
x
Reference in New Issue
Block a user