diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index 66609291b998..788061af661e 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -141,6 +141,10 @@ class Gateway extends Eloquent $query->where('payment_library_id', '=', 1) ->whereIn('id', static::$preferred) ->whereIn('id', $accountGatewaysIds); + + if (! Utils::isNinja()) { + $query->where('id', '!=', GATEWAY_WEPAY); + } } /**