Fix for custom gateway check

This commit is contained in:
Hillel Coren 2018-04-15 17:16:37 +03:00
parent 16c67174b6
commit 80e4c493d1

View File

@ -80,7 +80,7 @@ class HandleUserLoggedIn
if (! Utils::isNinja()) {
// check custom gateway id is correct
$gateway = Gateway::find(GATEWAY_CUSTOM1);
if (! $gateway || $gateway->name !== 'Custom1') {
if (! $gateway || $gateway->name !== 'Custom') {
Session::flash('error', trans('texts.error_incorrect_gateway_ids'));
}