diff --git a/app/Jobs/Mail/PaymentFailedMailer.php b/app/Jobs/Mail/PaymentFailedMailer.php index aebc9cbb330c..b8221c235652 100644 --- a/app/Jobs/Mail/PaymentFailedMailer.php +++ b/app/Jobs/Mail/PaymentFailedMailer.php @@ -110,13 +110,10 @@ class PaymentFailedMailer implements ShouldQueue }); //add client payment failures here. - nlog("pre client failure email"); - + // if($contact = $this->client->primary_contact()->first()) { - nlog("inside failure"); - $mail_obj = (new ClientPaymentFailureObject($this->client, $this->error, $this->company, $this->payment_hash))->build(); $nmo = new NinjaMailerObject; diff --git a/app/Mail/Admin/ClientPaymentFailureObject.php b/app/Mail/Admin/ClientPaymentFailureObject.php index 265845280538..d0a24b514efe 100644 --- a/app/Mail/Admin/ClientPaymentFailureObject.php +++ b/app/Mail/Admin/ClientPaymentFailureObject.php @@ -57,7 +57,6 @@ class ClientPaymentFailureObject public function build() { if(!$this->payment_hash){ - nlog("no payment has for failure notification - ClientPaymentFailureObject"); return; } @@ -124,7 +123,6 @@ class ClientPaymentFailureObject 'settings' => $this->client->getMergedSettings(), 'whitelabel' => $this->company->account->isPaid() ? true : false, 'url' => $this->invoices->first()->invitations->first()->getPaymentLink(), - // 'button' => 'texts.pay_now', 'button' => ctrans('texts.pay_now'), 'additional_info' => false, 'company' => $this->company,