public function isValidResponseSignature($signature, $apiId, $timestamp, $nonce, $statusCode, $resultCode, $callId)
    {
        return ($signature == $this->getResponseSignature($apiId, $timestamp, $nonce, $statusCode, $resultCode, $callId));
    }
public function isValidResponseSignature($signature, $apiId, $timestamp, $nonce, $statusCode, $resultCode, $callId)
    {
        return ($signature == $this->getResponseSignature($apiId, $timestamp, $nonce, $statusCode, $resultCode, $callId));
    }
public function isValidResponseSignature ( $ signature , $ apiId , $ timestamp , $ nonce , $ statusCode , $ resultCode , $ callId ) { return ( $ signature == $ this -> getResponseSignature ( $ apiId , $ timestamp , $ nonce , $ statusCode , $ resultCode , $ callId ) ) ; }
Test if response signature matches what we expect

This should be called after the redirect from Chargify to verify the
response signature. The signature to compare against will be available in
the query string $_GET['signature']

@param string $signature  Signature to compare against, from $_GET['signature']
@param string $apiId      From $_GET['api_id']
@param string $timestamp  From $_GET['timestamp']
@param string $nonce      From $_GET['nonce']
@param string $statusCode From $_GET['status_code']
@param string $resultCode From $_GET['result_code']
@param string $callId     From $_GET['call_id']

@return bool
@see getResponseSignature()
Test if response signature matches what we expect