We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 4795e458 authored by Ángel Campos's avatar Ángel Campos Committed by GitHub

Update Gateway/Request/CaptureDataBuilder.php

parent 075e0bd4
......@@ -103,7 +103,9 @@ class CaptureDataBuilder implements BuilderInterface
$latestInvoice = $invoices->getLastItem();
foreach ($latestInvoice->getItems() as $invoiceItem) {
if($invoiceItem->getOrderItem()->getParentItem()) continue;
if ($invoiceItem->getOrderItem()->getParentItem()) {
continue;
}
++$count;
$numberOfItems = (int)$invoiceItem->getQty();
$formFields = $this->adyenHelper->createOpenInvoiceLineItem(
......
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