/** * {@inheritDoc} */ public function getPendingZeroAuthInterface() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPendingZeroAuthInterface', array()); return parent::getPendingZeroAuthInterface(); }
/** * JS code to redirect back to saved cards page * * @return string */ protected function getRediectCode(\XLite\Model\Profile $profile) { $url = \XLite::getInstance()->getShopUrl(\XLite\Core\Converter::buildUrl('saved_cards', '', array('profile_id' => $profile->getProfileId()), $profile->getPendingZeroAuthInterface())); return '<script type="text/javascript">' . 'window.parent.location = "' . $url . '";' . '</script>'; }