From 8c15e2a7358ed18f0f6583d6c37547f48643e5e3 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 21 Jul 2016 20:09:33 +0300 Subject: [PATCH] Fix for payment gateway failing validation --- app/Http/Controllers/AccountGatewayController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/AccountGatewayController.php b/app/Http/Controllers/AccountGatewayController.php index 7067d6a80ef8..740e78246f23 100644 --- a/app/Http/Controllers/AccountGatewayController.php +++ b/app/Http/Controllers/AccountGatewayController.php @@ -202,7 +202,7 @@ class AccountGatewayController extends BaseController $validator = Validator::make(Input::all(), $rules); if ($validator->fails()) { - return Redirect::to('gateways/create') + return Redirect::to('gateways/create?other_providers=' . ($gatewayId == GATEWAY_WEPAY ? 'false' : 'true')) ->withErrors($validator) ->withInput(); } else {