/home/kueuepay/public_html/app/Notifications/User/TransferMoneyNotification.php
<?php

namespace App\Notifications\User;

use Carbon\Carbon;
use Illuminate\Bus\Queueable;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\MailMessage;

class TransferMoneyNotification extends Notification
{
    use Queueable;
    public $amount;
    public $receiver;
    public $payable_amount;
    /**
     * Create a new notification instance.
     *
     * @return void
     */
    public function __construct($amount,$receiver,$payable_amount)
    {
        $this->amount           = $amount;
        $this->receiver         = $receiver;
        $this->payable_amount   = $payable_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)
    {
        $amount             = $this->amount;
        $receiver           = $this->receiver;
        $payable_amount     = $this->payable_amount;
        $date               = Carbon::now();
        $dateTime           = $date->format('Y-m-d h:i:s A');

        return (new MailMessage)
            ->greeting("Hello ". auth()->user()->fullname." !")
            ->subject("Transfer Money To  " . $receiver->email)
            ->line("Request Amount: " . get_amount($amount,get_default_currency_code()))
            ->line("Payable Amount: " . get_amount($payable_amount,get_default_currency_code()))
            ->line("Status: Success " )
            ->line("Date And Time: " .$dateTime)
            ->line('Thank you for using our application!');
    }

    /**
     * Get the array representation of the notification.
     *
     * @param  mixed  $notifiable
     * @return array
     */
    public function toArray($notifiable)
    {
        return [
            //
        ];
    }
}
Transfer Money
top

Effortless and Secure Money Transfers

Our transfer system provides a seamless and secure way to move your funds. Enjoy a straightforward process with top-notch security features, ensuring that sending money to friends, family, or businesses is both quick and worry-free. Experience smooth transactions with confidence, knowing that your security is our highest priority.

  • Access the Transfer Section: Open the transfer section on our website or app.
  • Choose a Recipient: Select the recipient from your contacts or manually enter their details.
  • Enter the Amount: Specify the amount you want to transfer.
  • Authorize the Transfer: Confirm the transaction using your PIN or biometric authentication.
  • Receive Confirmation: Get a confirmation message indicating that your transfer was successful.
img