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 98f8bc09 authored by Rik ter Beek's avatar Rik ter Beek Committed by Aleffio

make sure the number is correctly converted in json number

parent 253f750e
...@@ -137,7 +137,7 @@ class AdyenInitiateTerminalApi implements AdyenInitiateTerminalApiInterface ...@@ -137,7 +137,7 @@ class AdyenInitiateTerminalApi implements AdyenInitiateTerminalApiInterface
'AmountsReq' => 'AmountsReq' =>
[ [
'Currency' => $quote->getCurrency()->getQuoteCurrencyCode(), 'Currency' => $quote->getCurrency()->getQuoteCurrencyCode(),
'RequestedAmount' => $quote->getGrandTotal(), 'RequestedAmount' => doubleval($quote->getGrandTotal()),
], ],
], ],
'PaymentData' => 'PaymentData' =>
......
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