From b5b7531e0ff06b634566fbe0fa7a90f76fb470ae Mon Sep 17 00:00:00 2001 From: Jurian Sluiman Date: Sun, 11 Aug 2013 14:17:01 +0200 Subject: [PATCH] Validate responses with XSD --- src/SlmIdealPayment/Client/StandardClient.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SlmIdealPayment/Client/StandardClient.php b/src/SlmIdealPayment/Client/StandardClient.php index b9fe621..aa2badc 100644 --- a/src/SlmIdealPayment/Client/StandardClient.php +++ b/src/SlmIdealPayment/Client/StandardClient.php @@ -221,6 +221,7 @@ protected function request(DOMDocument $document) $document = new DOMDocument; $document->loadXML($body); + $this->validate($document); $this->verify($document); $errors = $document->getElementsByTagName('Error');