Skip to content

Commit

Permalink
Fix isSuccessful check
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie op de Weegh committed Apr 6, 2018
1 parent 97bcbc5 commit da3583e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/FetchTransactionResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function getRedirectData()
*/
public function isSuccessful()
{
return parent::isSuccessful();
return $this->data['state'] === 200;
}

/**
Expand Down

0 comments on commit da3583e

Please sign in to comment.