Skip to content

Commit

Permalink
remove harder decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
mariolorenz committed Jan 10, 2025
1 parent 08f1bc5 commit cb25269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ProxyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 === '') {
Expand Down

0 comments on commit cb25269

Please sign in to comment.