/** * Check and (if needed) set the return URL parameter * * @param array &$params Form params * * @return void */ protected function setReturnURLParam(array &$params) { parent::setReturnURLParam($params); $params[\XLite\Controller\AController::RETURN_URL] = $this->buildFullURL('order', '', array('order_number' => \XLite\Core\Request::getInstance()->order_number)); }
/** * Check and (if needed) set the return URL parameter * * @param array &$params Form params * * @return void */ protected function setReturnURLParam(array &$params) { parent::setReturnURLParam($params); $params[\XLite\Controller\AController::RETURN_URL] = $this->buildFullURL('checkout'); }