public function sofortpnAction() { if (isset($_POST)) { $this->setSmartyOutput(false); require_once FE_DIR . '/lib/payment/sofortueberweisung.php'; $objSofort = new SOFORTUEBERWEISUNG(); $objPayment = $objSofort->checkAndvalidatePN(); if (false == $objPayment) { return false; } } else { $this->redirectTo('index', 'index'); } }