diff --git a/Model/ApiFacade/Refund/RefundApiFacade.php b/Model/ApiFacade/Refund/RefundApiFacade.php index 0707ac8..99900aa 100755 --- a/Model/ApiFacade/Refund/RefundApiFacade.php +++ b/Model/ApiFacade/Refund/RefundApiFacade.php @@ -27,7 +27,7 @@ public function __construct(RefundCardOriginApiFactory $refundOriginApi, RefundO public function makeRefund(InfoInterface $payment, float $amount) { $storeId = $payment->getOrder()->getStoreId(); - if (false !== strpos($payment->getLastTransId(), '-')) { + if (false !== strpos($payment->getParentTransactionId(), '-')) { if ($payment->getAdditionalInformation('transaction_id')) { /** @var OpenApi $openApi */ $openApi = $this->openApi->create(['storeId' => $storeId]); diff --git a/view/adminhtml/templates/system/config/header.phtml b/view/adminhtml/templates/system/config/header.phtml index 28ccd21..f63203e 100644 --- a/view/adminhtml/templates/system/config/header.phtml +++ b/view/adminhtml/templates/system/config/header.phtml @@ -54,7 +54,7 @@ use Magento\Framework\Escaper; style="max-width: 125px; max-height: 70px;" alt="BLIK"> Visa / Mastercard