mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for supporting multiple payment gateways
This commit is contained in:
parent
c9aea283b8
commit
462d6e95d5
@ -91,7 +91,7 @@ class AccountGatewayController extends BaseController
|
|||||||
$accountGatewaysIds = $account->gatewayIds();
|
$accountGatewaysIds = $account->gatewayIds();
|
||||||
$otherProviders = Input::get('other_providers');
|
$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;
|
$otherProviders = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user