embedded app compatible with ITP 2.1

Alex_Beacon
Shopify Partner
26 0 3

Hi Shopify! 

I'm using PHP for my App, and I have a  problem with sessions when merchant uses Safari brwoser. Session doesn't save.
Is there any way to store sessions (cookies), so that my app will work properly? 

 

Thanks!
Alex

Decrease fraudulent orders, stop chargebacks and expand globally with Beacon. https://apps.shopify.com/beacon
Replies 2 (2)

Zameer
Shopify Staff
297 31 90

Hey there,

 

You now need to use the Storage Access API which is provided by Apple in order to manage cookies. 

 

I would recommend reading their blog post which outlines the recommended approach for cookie handling with ITP 2.1.

To learn more visit the Shopify Help Center or the Community Blog.

Alex_Beacon
Shopify Partner
26 0 3

Thanks for response, 


Can I use Storage Access API in PHP? 
Should I use this documentation ? https://developer.mozilla.org/en-US/docs/Web/API/Storage_Access_API


Thanks

Decrease fraudulent orders, stop chargebacks and expand globally with Beacon. https://apps.shopify.com/beacon