if (isset($_REQUEST['csid'])) { // Restore session if (!$this->Paypal->restoreSession($_REQUEST['csid'])) { $this->redirect('/'); exit; } }