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 caceee72 authored by remco-schouten's avatar remco-schouten Committed by GitHub

Update RefundDataBuilder.php

Should refunditem->getQty be casted to int like in capturedatabuilder? this to prevent decimal value in request and server producing an error?
parent 51fa3c5a
......@@ -191,7 +191,7 @@ class RefundDataBuilder implements BuilderInterface
foreach ($creditMemo->getAllItems() as $refundItem) {
++$count;
$numberOfItems = $refundItem->getQty();
$numberOfItems = (int)$refundItem->getQty();
$formFields = $this->adyenHelper->createOpenInvoiceLineItem(
$formFields,
......
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