Commit eef2f8b6 authored by Alexandros Moraitis's avatar Alexandros Moraitis Committed by GitHub

Update Gateway/Request/RefundDataBuilder.php

parent e77c1fea
...@@ -172,7 +172,7 @@ class RefundDataBuilder implements BuilderInterface ...@@ -172,7 +172,7 @@ class RefundDataBuilder implements BuilderInterface
\Adyen\Payment\Observer\AdyenHppDataAssignObserver::BRAND_CODE \Adyen\Payment\Observer\AdyenHppDataAssignObserver::BRAND_CODE
); );
if ( $this->openInvoice->isOpenInvoicePaymentMethod($brandCode)) { if ($this->openInvoice->isOpenInvoicePaymentMethod($brandCode)) {
$openInvoiceFields = $this->getOpenInvoiceData($payment); $openInvoiceFields = $this->getOpenInvoiceData($payment);
//There is only one payment, so we add the fields to the first(and only) result //There is only one payment, so we add the fields to the first(and only) result
......
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