diff --git a/src/Controller/ProxyController.php b/src/Controller/ProxyController.php index bcd9e4a2e..cced2f1c2 100644 --- a/src/Controller/ProxyController.php +++ b/src/Controller/ProxyController.php @@ -224,7 +224,7 @@ public function createGooglePayOrder() */ public function approveOrder() { - $data = json_decode(file_get_contents('php://input'), true, 512, JSON_THROW_ON_ERROR); + $data = json_decode(file_get_contents('php://input'), true); $orderId = (string) Registry::getRequest()->getRequestEscapedParameter('orderID'); $sessionOrderId = PayPalSession::getCheckoutOrderId(); if (!empty($data['orderID']) && $orderId === '') {