- public function getConfig()
- {
- return [
- 'payment' => [
- 'iframe' => [
- 'timeoutTime' => [$this->methodCode => self::TIMEOUT_TIME],
- 'dateDelim' => [$this->methodCode => $this->getDateDelim()],
- 'cardFieldsMap' => [$this->methodCode => $this->getCardFieldsMap()],
- 'source' => [$this->methodCode => $this->getViewFileUrl('blank.html')],
- 'controllerName' => [$this->methodCode => self::CHECKOUT_IDENTIFIER],
- 'cgiUrl' => [$this->methodCode => $this->getCgiUrl()],
- 'placeOrderUrl' => [$this->methodCode => $this->getPlaceOrderUrl()],
- 'saveOrderUrl' => [$this->methodCode => $this->getSaveOrderUrl()],
- 'expireYearLength' => [$this->methodCode => $this->getExpireDateYearLength()]
- ]
- ]
- ];
- }