diff --git a/app/Http/Controllers/iLinkTransactionController.php b/app/Http/Controllers/iLinkTransactionController.php index 71a044e..81dcf99 100755 --- a/app/Http/Controllers/iLinkTransactionController.php +++ b/app/Http/Controllers/iLinkTransactionController.php @@ -1810,7 +1810,8 @@ class iLinkTransactionController extends Controller if (in_array($transaction->type, [3, 17])) { $configPayeur = ConfigWallet::where('id_network', $transaction->network_destinataire)->firstOrFail(); if ($configPayeur->type != 'ilink') - return $this->errorResponse(trans('errors.withdrawal_network_unauthorized')); + return $this->errorResponse(trans('errors.withdrawal_network_unauthorized', ['network' => $this->getNetworkName($transaction->network_destinataire), + 'country' => $this->getCountryName($transaction->final_country)])); } if ($transaction->status_retrait != 0)