Skip to content

Commit 21095d2

Browse files
authored
A non success transaction should not have a known decision
1 parent 259b99d commit 21095d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CybersourcePHP/Replies/BaseReply.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public function __construct($response)
4343
}
4444
else
4545
{
46+
$this->_decision = "UNKNOWN";
4647
$this->_error = ReasonCodes::lookup($response->reasonCode) . " ";
4748
if($response->reasonCode == "101") //Missing field(s)
4849
{

0 commit comments

Comments
 (0)