Код: Выделить всё
App\Controller\MyExternal\Function.php
Код: Выделить всё
$z_request = new MyExternal\ZRequest();
$z_request ->start_request(
$amount,
$invoice_name,
$user_mobile
);
Код: Выделить всё
$startGateWayUrl = "https://gateway.com/start/".$response->trackId;
return redirect()->to($startGateWayUrl);
Так как же мне передать обратно $startGateWayUrl в исходный контроллер?
Подробнее здесь: https://stackoverflow.com/questions/788 ... in-laravel