diff --git a/PHP/BluePay.php b/PHP/BluePay.php index 44b71a4..d5644c5 100755 --- a/PHP/BluePay.php +++ b/PHP/BluePay.php @@ -928,7 +928,7 @@ public function process() { $headers = explode("\n", $headers); foreach($headers as $header) { if (stripos($header, 'Location:') !== false) { - $this->response = $header; + $this->response = substr($header, strrpos($header, '?') + 1); } } } else {