예제 #1
0
 /**
  * {@inheritDoc}
  */
 public function getPendingZeroAuthInterface()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPendingZeroAuthInterface', array());
     return parent::getPendingZeroAuthInterface();
 }
예제 #2
0
 /**
  * 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>';
 }