Skip to content

Commit

Permalink
Fix overriding notification subject translation
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints committed Jan 7, 2020
1 parent ccbf287 commit 59faaf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Notifications/ConfirmPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function toMail($notifiable)
$url = route('cashier.payment', ['id' => $this->paymentId]);

return (new MailMessage)
->subject(__('Confirm Payment'))
->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);
Expand Down

0 comments on commit 59faaf3

Please sign in to comment.