We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 752e76f3 authored by Aleffio's avatar Aleffio

PW-365: Updated RefundDataBuilder

parent 07978868
...@@ -76,7 +76,8 @@ class RefundDataBuilder implements BuilderInterface ...@@ -76,7 +76,8 @@ class RefundDataBuilder implements BuilderInterface
$pspReference = $payment->getCcTransId(); $pspReference = $payment->getCcTransId();
$currency = $payment->getOrder()->getOrderCurrencyCode(); $currency = $payment->getOrder()->getOrderCurrencyCode();
$storeId = $order->getStoreId(); $storeId = $order->getStoreId();
$merchantAccount = $this->adyenHelper->getAdyenMerchantAccount($payment, $storeId); $method = $payment->getMethod();
$merchantAccount = $this->adyenHelper->getAdyenMerchantAccount($method, $storeId);
$grandTotal = $payment->getOrder()->getGrandTotal(); $grandTotal = $payment->getOrder()->getGrandTotal();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment