PayU\Configuration::getSecretKey PHP Method

getSecretKey() public method

public getSecretKey ( ) : string
return string
    public function getSecretKey()
    {
        return $this->secretKey;
    }

Usage Example

 protected function calculateHash($rawData)
 {
     ksort($rawData);
     $buffer = '';
     foreach ($rawData as $key => $value) {
         $buffer .= strlen($value) . $value;
     }
     return hash_hmac('md5', $buffer, $this->configuration->getSecretKey());
 }
All Usage Examples Of PayU\Configuration::getSecretKey