Update GatewayController.php