Init(); $application->SetVar('payment_type_id', $application->Conn->GetOne( 'SELECT PaymentTypeId FROM '.TABLE_PREFIX.'PaymentTypes AS pt LEFT JOIN '.TABLE_PREFIX.'Gateways AS g ON g.GatewayId = pt.GatewayId WHERE g.ClassName = '.$application->Conn->qstr('kPayboxGW'))); include(FULL_PATH.'/in-commerce/gw_notify.php'); ?>