diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index eae52b925ee1..0b8ad079ea92 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -103,7 +103,7 @@ class CheckData extends Command if ($errorEmail) { Mail::raw($this->log, function ($message) use ($errorEmail, $database) { $message->to($errorEmail) - ->from(config('ninja.error_email')) + ->from(config('mail.from.address'), config('mail.from.name')) ->subject('Check-Data: '.strtoupper($this->isValid ? Account::RESULT_SUCCESS : Account::RESULT_FAILURE)." [{$database}]"); }); } elseif (! $this->isValid) { diff --git a/app/Jobs/Mail/NinjaMailerJob.php b/app/Jobs/Mail/NinjaMailerJob.php index 9405750032fb..af1b42f525f2 100644 --- a/app/Jobs/Mail/NinjaMailerJob.php +++ b/app/Jobs/Mail/NinjaMailerJob.php @@ -91,7 +91,7 @@ class NinjaMailerJob implements ShouldQueue } catch (\Exception $e) { nlog("error failed with {$e->getMessage()}"); - nlog($e); + // nlog($e); if($this->nmo->entity) $this->entityEmailFailed($e->getMessage()); diff --git a/app/Services/Client/PaymentMethod.php b/app/Services/Client/PaymentMethod.php index 811c04c9186e..84b214b2fefc 100644 --- a/app/Services/Client/PaymentMethod.php +++ b/app/Services/Client/PaymentMethod.php @@ -140,7 +140,7 @@ class PaymentMethod if ($this->validGatewayForAmount($gateway->fees_and_limits->{$type}, $this->amount) && $gateway->fees_and_limits->{$type}->is_enabled) { - if($type == GatewayType::BANK_TRANSFER); + // if($type == GatewayType::BANK_TRANSFER); $this->payment_methods[] = [$gateway->id => $type]; }