diff --git a/app/Http/Controllers/iLinkTransactionController.php b/app/Http/Controllers/iLinkTransactionController.php index 73e6927..a1b7b43 100755 --- a/app/Http/Controllers/iLinkTransactionController.php +++ b/app/Http/Controllers/iLinkTransactionController.php @@ -311,8 +311,8 @@ class iLinkTransactionController extends Controller 'currency' => $countryCurrency->currency_code, 'customer_id' => $user->id, 'customer_email' => $user->email, - 'customer_name' => $request->input('prenom_destinataire'), - 'customer_surname' => $request->input('nom_destinataire'), + 'customer_name' => $user->firstname, + 'customer_surname' => $user->lastname, 'customer_phone_number' => $transaction->id_destinataire, 'customer_country' => $countryCurrency->code_country, 'reason' => "User - Envoi de wallet à wallet" @@ -1264,7 +1264,7 @@ class iLinkTransactionController extends Controller 'customer_surname' => $request->input('nom_destinataire'), 'customer_phone_number' => $transaction->id_destinataire, 'customer_country' => $countryCurrency->code_country, - 'reason' => "Agent - Envoi de casg à casg" + 'reason' => "Agent - Envoi de cash à cash" ]); }