Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Model/ApiFacade/Refund/RefundApiFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down
2 changes: 1 addition & 1 deletion view/adminhtml/templates/system/config/header.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ use Magento\Framework\Escaper;
style="max-width: 125px; max-height: 70px;"
alt="BLIK">
<img
src="<?= $escaper->escapeUrl('https://secure.tpay.com/tpay/web/groups/1031/normal-white-bg.png') ?>"
src="<?= $block->getViewFileUrl('Tpay_Magento2::images/payment-methods/cards.png') ?>"
style="max-width: 125px; max-height: 70px;"
alt="Visa / Mastercard">
<img
Expand Down
Binary file modified view/adminhtml/web/images/payment-methods/cards.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.