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 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