Remove echo

This commit is contained in:
Michael RICOIS 2013-11-15 15:43:07 +00:00
parent 131323e792
commit 4b5da92d16

View File

@ -210,7 +210,7 @@ class Paybox_System extends Paybox_Config
} }
/** /**
* Define URL parameters as strng to calculate HMAC * Define URL parameters as string to calculate HMAC
* @param string $withReturnUrl * @param string $withReturnUrl
*/ */
public function setUrlParameters($withReturnUrl = '') public function setUrlParameters($withReturnUrl = '')
@ -270,7 +270,7 @@ class Paybox_System extends Paybox_Config
public function calculateHMAC() public function calculateHMAC()
{ {
$binKey = pack("H*", $this->KEY); $binKey = pack("H*", $this->KEY);
echo "URL_PARAMETERS : ".$this->URL_PARAMETERS; //echo "URL_PARAMETERS : ".$this->URL_PARAMETERS;
$this->PBX_HMAC = strtoupper(hash_hmac('sha512', $this->URL_PARAMETERS, $binKey)); $this->PBX_HMAC = strtoupper(hash_hmac('sha512', $this->URL_PARAMETERS, $binKey));
} }