/home/techb158/immovalet.com/vendor/laravel/cashier/src/Notifications
NameSizeModeActions
ConfirmPayment.php16900644editdlrm
Edit: /home/techb158/immovalet.com/vendor/laravel/cashier/src/Notifications/ConfirmPayment.php (1690B)
paymentId = $payment->id; $this->amount = $payment->amount(); } /** * Get the notification's delivery channels. * * @param mixed $notifiable * @return array */ public function via($notifiable) { return ['mail']; } /** * Get the mail representation of the notification. * * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ 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); } }