/** * ACTION: default action * * @return void */ protected function doNoAction() { if (isset(\XLite\Core\Request::getInstance()->{'token-id'}) && isset(\XLite\Core\Request::getInstance()->{'registration-status'})) { $this->capostValidateMerchant(); } parent::doNoAction(); }
/** * Define the actions with no secure token * * @return array */ public static function defineFreeFormIdActions() { return array_merge(parent::defineFreeFormIdActions(), array('hide_welcome_block_paypal', 'hide_welcome_block_paypal_forever')); }