Fix for supporting multiple payment gateways
This commit is contained in:
parent
c9aea283b8
commit
462d6e95d5
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class AccountGatewayController extends BaseController
|
|||
$accountGatewaysIds = $account->gatewayIds();
|
||||
$otherProviders = Input::get('other_providers');
|
||||
|
||||
if (! Utils::isNinja() || ! env('WEPAY_CLIENT_ID') || Gateway::hasStandardGateway($accountGatewaysIds)) {
|
||||
if (! Utils::isNinja() || ! env('WEPAY_CLIENT_ID') || in_array(GATEWAY_WEPAY, $accountGatewaysIds)) {
|
||||
$otherProviders = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue