diff --git a/README.md b/README.md index 1a3cdc60..af85d5eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@

- + + + + Sylius Logo. +


diff --git a/src/Controller/PayPalOrderItemController.php b/src/Controller/PayPalOrderItemController.php index cc940c82..0658b880 100644 --- a/src/Controller/PayPalOrderItemController.php +++ b/src/Controller/PayPalOrderItemController.php @@ -48,7 +48,7 @@ public function createFromProductDetailsAction(Request $request): Response $form = $form->handleRequest($request); - if (!$form->isValid()) { + if ($form->isSubmitted() && !$form->isValid()) { return new RedirectResponse((string) $request->headers->get('referer')); }