@@verze 1 @@conf+:eshop_conf.php /* ---- Nastavení Comgate ---- */ if (!isset($onlineplatba_system)) $onlineplatba_system = array(); // Comgate $onlineplatba_system[] = 'comgate'; $onlineplatba_konfigurace["comgate"]=array( // 'switch'=>array('PAID'=>1, 'PENDING'=>2, 'CANCELLED'=>4), 'merchant'=>'', //sdeli zakaznik 'secret'=>'', //sdeli zakaznik 'test'=>false, 'check_underpaid'=>true, 'underpaid_email'=>'', ); //Dílčí konfigurace každého platebního systému, viz eshop.pdf @@init \comgate\Comgate::integrate(); @@reflection if (!isset($moduly["eshop"])) return "nelze"; eval(nactinastavenimodulu("eshop")); if (!isset($enhanced_online_payments) or !$enhanced_online_payments) return "nelze"; if (GenericPaymentSystem::isSystemRegistered("comgate")) return "ano"; return "ne";