Remove echo
This commit is contained in:
parent
131323e792
commit
4b5da92d16
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user