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