Fix for payment gateway failing validation
This commit is contained in:
parent
fa7203a90d
commit
8c15e2a735
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue