Frequently Asked Questions &amp; Common Issues | PunchCommerce                       ![](//analytics.punchcommerce.de/matomo.php?idsite=1&rec=1)

  [Skip to content](#main-content)

Frequently Asked Questions &amp; Common Issues
==============================================

My customer can open the online shop from within the procurement solution, but is not logged in
-----------------------------------------------------------------------------------------------

With Shopware 5 in particular, problems with cookies frequently arise when the online shop is embedded as an iFrame within the procurement solution.

**How can I narrow down the problem?**

Open your browser’s developer tools and check the ‘Application’ &gt; ‘Cookies’ section to see if a yellow exclamation mark appears next to the cookie labelled ‘session-’. If this is the case, you can try the following solution.

**Setting ‘Secure’ and ‘SameSite=None’ for all cookies**

Edit the .htaccess file in the root directory of your shop installation and add the following lines:

```
Header onsuccess edit Set-Cookie ^(.*)$ $1;Secure;SameSite=None
Header always edit Set-Cookie ^(.*)$ $1;Secure;SameSite=None
```

I am receiving a 404 error message when data is passed from my online shop’s shopping basket
--------------------------------------------------------------------------------------------

Check the plugin settings in Shopware or your shop system; the return address from the shop system can only be changed for One customers and must always be set to www.punchcommerce.de by default

My customer cannot open the online shop from the procurement solution and sees a ‘grey’ page; access to the online shop within an iFrame is denied
--------------------------------------------------------------------------------------------------------------------------------------------------

It may be that the HTTP header “X-Frame-Options” or a CSP directive is set by the shop software you are using or by your web server. Please check the web server or shop configuration and adjust it accordingly.

**Further information**

-
-

 PunchCommerce® is a product of [ ![netzdirektion | Gesellschaft für digitale Wertarbeit mbH](https://www.punchcommerce.de/static/netzdirektion-logo.png) (opens in a new window) ](https://netzdirektion.de) ![DEKRA seal: quality management according to ISO 9001](https://www.punchcommerce.de/static/dekra-netzdirektion-iso-9001.png) **ISO 9001:2015**
certified quality management

 netzdirektion | Gesellschaft für digitale Wertarbeit mbH · © 2020 - 2026
