embedded app compatible with ITP 2.1

Highlighted

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
0 Likes
Highlighted
Shopify Staff
Shopify Staff
295 32 74

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.

0 Likes
Highlighted

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
0 Likes