Skip to content

Commit

Permalink
Merge pull request #779 from ralphmorris/remove-extra-signoff-from-co…
Browse files Browse the repository at this point in the history
…nfirm-payment

[10.x] Remove extra sign off from ConfirmPayment notification
  • Loading branch information
taylorotwell authored Sep 12, 2019
2 parents e9048ec + dcc1e1d commit 1f5c6e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion resources/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down
4 changes: 1 addition & 3 deletions src/Notifications/ConfirmPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 1f5c6e4

Please sign in to comment.