Skip to content

Commit

Permalink
Merge pull request #28 from MohammadMehrabani/bugfix/test_gateway
Browse files Browse the repository at this point in the history
Update test gateway (verify method)
  • Loading branch information
dena-a authored Aug 11, 2024
2 parents de1ad27 + 9a7fe62 commit 9983cf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateways/Test/TestGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function purchaseUri(): string

public function verify(): void
{
if ($this->request['status'] ?? null === 'error') {
if (($this->request['status'] ?? null) === 'error') {
throw TestException::error(-100);
}

Expand Down

0 comments on commit 9983cf0

Please sign in to comment.