getRecipient(); try { $performWalletTransfer->execute( sender: $request->user(), recipient: $recipient, amount: $request->getAmountInCents(), reason: $request->input('reason'), ); return redirect()->back() ->with('money-sent-status', 'success') ->with('money-sent-recipient-name', $recipient->name) ->with('money-sent-amount', $request->getAmountInCents()); } catch (InsufficientBalance $exception) { return redirect()->back()->with('money-sent-status', 'insufficient-balance') ->with('money-sent-recipient-name', $recipient->name) ->with('money-sent-amount', $request->getAmountInCents()); } } }