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

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® ist ein Produkt der ![Netzdirektion GmbH](https://www.punchcommerce.de/static/netzdirektion-logo.png "PunchCommerce® ist ein Produkt der netzdirektion | Gesellschaft für digitale Wertarbeit mbH") ](https://netzdirektion.de)

 [Give feedback now - your opinion helps us to become even better!](https://easy-feedback.de/umfrage/1883200/5FuM95 "Your opinion helps us to become even better!")
