__soapCall('procesaNotificacionSIS', [ 'XML' => $requestString ]); $xml = new SimpleXMLElement($result); $key = $_POST['key']; $start = strpos($result, ''); $shaString = substr($result, $start, $end - $start + 11); $shaHash = sha1($shaString.$key); $isValid = $xml->{'Signature'} == $shaHash; } else { $key = ''; $result = ''; $shaHash = ''; $isValid = FALSE; } ?> TPV SOAP Client Key: Response =htmlentities($result)?>
=htmlentities($result)?>
Calculated: =$shaHash?>
Valid: />