Esempio n. 1
0
 /**
  * Perform the required redirect. If no redirect is required, returns FALSE.
  */
 public function redirect()
 {
     if ($this->is_redirect() == FALSE) {
         return FALSE;
     }
     if ('POST' == strtoupper($this->redirect_method())) {
         return Merchant::post_redirect($this->redirect_url(), $this->redirect_data(), $this->redirect_message());
     }
     return Merchant::redirect($this->redirect_url());
 }