diff --git a/src/Provider/BlikModel/BlikModelProvider.php b/src/Provider/BlikModel/BlikModelProvider.php index 4d38eddb..e2c17466 100644 --- a/src/Provider/BlikModel/BlikModelProvider.php +++ b/src/Provider/BlikModel/BlikModelProvider.php @@ -28,8 +28,11 @@ public function provideDataToBlikModel(?string $blikCode): BlikModelInterface if (null !== $blikCode) { return $this->blikModelFactory->create($blikCode, $request->getClientIp()); } + + /** @var array $requestData */ + $requestData = $request->request->all(); /** @var array $blikData */ - $blikData = $request->request->get('sylius_checkout_complete'); + $blikData = $requestData['sylius_checkout_complete']; $blikCode = $blikData['blik_code']; if (!$blikCode) { throw new BlikNoDataException('The Blik data has not been entered');