From f0bfc42f955dd19bae80e60bd0a092b95996ec69 Mon Sep 17 00:00:00 2001 From: Ralph Morris Date: Thu, 12 Sep 2019 14:17:37 +0100 Subject: [PATCH 1/2] remove extra sign off from ConfirmPayment notification as it already exists in the default template. --- src/Notifications/ConfirmPayment.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Notifications/ConfirmPayment.php b/src/Notifications/ConfirmPayment.php index a76f2d44..04f723d5 100644 --- a/src/Notifications/ConfirmPayment.php +++ b/src/Notifications/ConfirmPayment.php @@ -62,8 +62,6 @@ public function toMail($notifiable) return (new MailMessage) ->greeting(__('Confirm your :amount payment', ['amount' => $this->amount])) ->line(__('Extra confirmation is needed to process your payment. Please continue to the payment page by clicking on the button below.')) - ->action(__('Confirm Payment'), $url) - ->line(__('Thanks').',') - ->line(config('app.name')); + ->action(__('Confirm Payment'), $url); } } From dcc1e1d32ec2c53acd3d678bf8acdf9237a6f733 Mon Sep 17 00:00:00 2001 From: Ralph Morris Date: Thu, 12 Sep 2019 14:42:09 +0100 Subject: [PATCH 2/2] remove associated language line --- resources/lang/en.json | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/lang/en.json b/resources/lang/en.json index 33d043b2..eb62bef1 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -12,7 +12,6 @@ "Payment Confirmation": "Payment Confirmation", "Payment Successful": "Payment Successful", "Please provide your name.": "Please provide your name.", - "Thanks": "Thanks", "The payment was successful.": "The payment was successful.", "This payment was already successfully confirmed.": "This payment was already successfully confirmed.", "This payment was cancelled.": "This payment was cancelled."