Example #1
0
 public function url($params = array())
 {
     $url = parent::url($params);
     // Payments API redirects to this page including this two parameters.
     // Those URL paramters are necessary only to *arrive* to the Payment
     // Completed step page for the first time. The same parameters are
     // then passed in the POST requests.
     return remove_query_arg(array('step', 'transaction_id'), $url);
 }