Skip to content

Commit

Permalink
A non success transaction should not have a known decision
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb authored May 14, 2018
1 parent 259b99d commit 21095d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CybersourcePHP/Replies/BaseReply.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public function __construct($response)
}
else
{
$this->_decision = "UNKNOWN";
$this->_error = ReasonCodes::lookup($response->reasonCode) . " ";
if($response->reasonCode == "101") //Missing field(s)
{
Expand Down

0 comments on commit 21095d2

Please sign in to comment.