Skip to content

Commit

Permalink
Remove handling of 101 Status code (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
amiri27 authored Feb 27, 2023
1 parent c658758 commit c12f0ca
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Drivers/Zarinpal/Strategies/Normal.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,6 @@ public function verify(): ReceiptInterface
throw new InvalidPaymentException($this->translateStatus($bodyResponse), $bodyResponse);
}

$bodyResponse = $result['data']['code'];
if ($bodyResponse == 101) {
throw new InvalidPaymentException($this->translateStatus($bodyResponse), $bodyResponse);
}

return $this->createReceipt($result['data']['ref_id']);
}

Expand Down

0 comments on commit c12f0ca

Please sign in to comment.