diff --git a/backend/app/Services/Infrastructure/Session/CheckoutSessionManagementService.php b/backend/app/Services/Infrastructure/Session/CheckoutSessionManagementService.php index d7552ac842..184c937856 100644 --- a/backend/app/Services/Infrastructure/Session/CheckoutSessionManagementService.php +++ b/backend/app/Services/Infrastructure/Session/CheckoutSessionManagementService.php @@ -50,7 +50,7 @@ public function getSessionCookie(): SymfonyCookie domain: $this->config->get('session.domain') ?? '.' . $this->request->getHost(), secure: true, sameSite: 'None', - ); + )->withPartitioned(true); } private function createSessionId(): string diff --git a/backend/tests/Unit/Services/Infrastructure/Session/CheckoutSessionManagementServiceTest.php b/backend/tests/Unit/Services/Infrastructure/Session/CheckoutSessionManagementServiceTest.php index a9db4d0572..176d36d6ee 100644 --- a/backend/tests/Unit/Services/Infrastructure/Session/CheckoutSessionManagementServiceTest.php +++ b/backend/tests/Unit/Services/Infrastructure/Session/CheckoutSessionManagementServiceTest.php @@ -66,5 +66,6 @@ public function testGetSessionCookie(): void $this->assertEquals('existingSessionId', $cookie->getValue()); $this->assertTrue($cookie->isSecure()); $this->assertEquals('none', $cookie->getSameSite()); + $this->assertTrue($cookie->isPartitioned()); } } diff --git a/frontend/public/widget-test.html b/frontend/public/widget-test.html index 081c51ce65..7c2ae9b718 100644 --- a/frontend/public/widget-test.html +++ b/frontend/public/widget-test.html @@ -4,6 +4,9 @@
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium, alias asperiores atque autem cumque +
+{t`There are no products available for this event`} @@ -410,6 +453,13 @@ const SelectProducts = (props: SelectProductsProps) => {
+ {t`Ticket sales have ended for this event`} +
+