Working on tests
This commit is contained in:
parent
694929cc3d
commit
fcbab2fd02
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue