*/ /** * Klasa stMoneybookersFrontendComponents * * @package stMoneybookersPlugin * @subpackage actions */ class stMoneybookersFrontendComponents extends sfComponents { /** * Pokazywanie formularza płatności */ public function executeShowPayment() { $this->smarty = new stSmarty('stMoneybookersFrontend'); if (stPaymentType::hasOrderInSummary()) { $this->stMoneybookers = new stMoneybookers(); $this->stWebRequest = new stWebRequest(); $this->order = stPaymentType::getOrderInSummary(); $this->user = $this->order->getOrderUserDataBilling(); $this->lang = stPaymentType::getLanguage(); $this->hash = stPaymentType::getPaymentHash($this->order->getId()); $this->country = stPaymentType::getCountry($this->user); } } }