示例#1
0
 /**
  * @param array $pgwResponse
  * @return bool
  */
 public function isPgwResponseValid($pgwResponse)
 {
     return $pgwResponse['pgw_signature'] == SignatureGenerator::generateSignatureFromArray($this->secretKey, $pgwResponse);
 }