Skip to content

Commit

Permalink
Translation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
krzGablo committed Jan 19, 2024
1 parent aeccf57 commit b1a9899
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Model/ApiFacade/CardTransaction/CardApiFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private function createCardOriginApiInstance(TpayInterface $tpay, TpayTokensServ

private function createOpenApiInstance(TpayInterface $tpay, TpayTokensService $tokensService, TpayService $tpayService)
{
if ('PLN' !== $this->storeManager->getStore()->getCurrentCurrencyCode() && !$tpay->isOpenApiEnabled()) {
if ('PLN' !== $this->storeManager->getStore()->getCurrentCurrencyCode() || !$tpay->isOpenApiEnabled()) {
$this->cardOpen = null;
$this->useOpenCard = false;

Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
<group id="cardpayment_originapi_settings" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Cards payments Origin API settings </label>
<label>Cards payments Origin API settings</label>
<depends><field id="cardpayment_api_active">1</field></depends>
<field id="hash_type" translate="label" type="select" sortOrder="7" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Digest algorithm</label>
Expand Down

0 comments on commit b1a9899

Please sign in to comment.