public function __construct(Config $config)
 {
     parent::__construct($config);
     $this->merchant_id = $config->getMerchant()->getId();
     $this->currency = $config->getMerchant()->getCurrency();
     $this->date = date('Y-m-d H:i:s');
     $this->_data = self::renameFields($this->getFieldsMap(), $this->config->getRequest(), false);
 }
Exemplo n.º 2
0
 public function __construct(Config $config)
 {
     parent::__construct($config);
     $this->merchant_id = $config->getMerchant()->getId();
     $this->currency = $config->getMerchant()->getCurrency();
     $this->order_date = date('Y-m-d H:i:s');
     $this->timeout = $config->getTimeout();
     $this->method = $config->getMethod();
     $this->automode = $config->getMethod() == Method::AUTOMODE ? 1 : 0;
     $this->language = $config->getLanguage();
     $this->timeout_url = $config->getUrlTimeout();
     $this->redirect_url = $config->getUrlRedirect();
 }
Exemplo n.º 3
0
 public function __construct(Config $config)
 {
     parent::__construct($config);
     $this->_data = self::renameFields($this->getFieldsMap(), $this->config->getQuery(), false);
 }
Exemplo n.º 4
0
 public function __construct(Config $config)
 {
     parent::__construct($config);
 }