Skip to content

Commit

Permalink
Sandbox blik fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krzGablo committed Jan 23, 2024
1 parent e69d061 commit 35e47e4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Model/Tpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ public function setCode(string $code)

public function checkBlikLevel0Settings(): bool
{
if (!$this->getBlikLevelZeroStatus() || !$this->checkBlikAmount()) {
return false;
}

return true;
return !(!$this->getBlikLevelZeroStatus() || !$this->checkBlikAmount());
}

public function getInstallmentsAmountValid(): bool
Expand Down

0 comments on commit 35e47e4

Please sign in to comment.