Skip to content

Commit

Permalink
Payment limit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krzGablo committed Jan 12, 2024
1 parent f2a25ad commit 9657785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/MethodListPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function afterGetAvailableMethods(MethodList $compiled, $result)
$onsiteChannels = $this->scopeConfig->getValue(self::CONFIG_PATH, ScopeInterface::SCOPE_STORE);
$channels = $onsiteChannels ? explode(',', $onsiteChannels) : [];

if (!$this->tpay->isCartValid((float)$this->checkoutSession->getQuote()->getGrandTotal())) {
if (!$this->tpay->isCartValid((float) $this->checkoutSession->getQuote()->getGrandTotal())) {
return $result;
}

Expand Down

0 comments on commit 9657785

Please sign in to comment.