php-shopify icon indicating copy to clipboard operation
php-shopify copied to clipboard

force_ssl was removed from REST API Shop

Open nick-friedrich opened this issue 4 years ago • 5 comments

I get this error in shopify partners dashboard:

force_ssl was removed from REST API Shop

nick-friedrich avatar Oct 11 '21 15:10 nick-friedrich

I get the same error, do we have a fix for this?

hjarnaa avatar Jan 03 '22 21:01 hjarnaa

Hi, any update on this ?

anasiqbalkhan avatar Jan 04 '22 10:01 anasiqbalkhan

The Shopify warning is a bit confusing, but already tells you what to do:

Update deadline: Apr 1, 2022 - Update to version 2021-07 or later

Unless your using this attribute yourself, the warning probably is about using an older API version. This package is recently updated to use the newer API version (from 2021-01 to 2021-10). When you update the package to the latest version (composer update phpclassic/php-shopify), the packages uses a newer version of the API, see: https://github.com/phpclassic/php-shopify/commit/32ec82af1bad7c1cf52363b4711fcc3a820abfbc

That probably solves your problem.

See: https://shopify.dev/api/usage/versioning for more information about the versioning of the Shopify API and the support of each version.

dvdheiden avatar Jan 12 '22 12:01 dvdheiden

Thanks a billion @dvdheiden I have updated the Package, and so far it seems to work.

hjarnaa avatar Jan 12 '22 19:01 hjarnaa

Yep, me too. Updating has fixed this issue for me also (composer update phpclassic/php-shopify)

thanks to @dvdheiden for the update suggestion; usually the very last thing I remember to do and usually the only thing that fixes my issues 😅

loughlincodes avatar Jul 19 '22 13:07 loughlincodes