We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a03193a commit e469890Copy full SHA for e469890
src/Message/DirectPostCompletePurchaseResponse.php
@@ -14,7 +14,7 @@ class DirectPostCompletePurchaseResponse extends AbstractResponse
14
*/
15
public function isSuccessful()
16
{
17
- return $this->summaryCode() && (int) $this->getCode() == 00;
+ return $this->summaryCode() && in_array($this->getCode(), array('00', '08', '11'));
18
}
19
20
public function summaryCode()
0 commit comments