smarty = new stSmarty('cvIngTwistoFrontend'); $ing = new cvIngService(); $plugin = new cvIngPlugin(); $tl=new cvIngTranslationCfg(); $txt=$tl->getArray(); if (!isset($this->order)){ $this->order = OrderPeer::retrieveByIdAndHashCode($this->getRequestParameter('id'), $this->getRequestParameter('hash_code')); } $this->smarty->assign('url', $ing->paymentUrl); $this->smarty->assign('txt', $txt); $this->smarty->assign('data', $ing->getTransactionData($this->order, 1)); $this->smarty->assign('check_configuration', $plugin->checkPaymentConfiguration()); } }