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 44574199 authored by alessio's avatar alessio Committed by attilak

PW-1103: use ReservedOrderID for quote so merchantreference will be the same as the orderid

parent d95d6a2c
......@@ -146,7 +146,7 @@ class PaymentInformationManagement
// PaymentDataBuilder
$currencyCode = $quote->getQuoteCurrencyCode();
$amount = $quote->getGrandTotal();
$reference = $quote->getId();
$reference = $quote->reserveOrderId()->getReservedOrderId();
$request = $this->adyenRequestHelper->buildPaymentData($request, $amount, $currencyCode, $reference);
// Browser data builder
......
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