/** * Modify request to allow process specific GET-actions * * @return string */ public function handleRequest() { if (isset(\XLite\Core\Request::getInstance()->action) && $this->isPaypalInstructionAction()) { \XLite\Core\Request::getInstance()->setRequestMethod('POST'); } parent::handleRequest(); }
protected function doActionUpdate() { parent::doActionUpdate(); if ($this->isSecuresubmitPaymentMethod()) { $request = \XLite\Core\Request::getInstance(); // Return back to the SecureSubmit payment configurations page $this->setReturnURL($this->buildURL('payment_method', '', array('method_id' => $request->method_id))); } }