We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6db4099 commit 4e06912Copy full SHA for 4e06912
lib/Checkdomain/TeleCash/IPG/API/Response/Action/Validation.php
@@ -23,6 +23,9 @@ public function __construct(\DOMDocument $responseDoc)
23
24
if ($actionResponse->length > 0) {
25
$this->wasSuccessful = ($success === 'true');
26
+ if (false === $this->wasSuccessful) {
27
+ $this->errorMessage = $this->firstElementByTagNSString($responseDoc, OrderService::NAMESPACE_N2, 'ErrorMessage');
28
+ }
29
} else {
30
throw new \Exception("Validate Call failed " . $responseDoc->saveXML());
31
}
0 commit comments