phpclassic / php-shopify

PHP SDK for Shopify API
Apache License 2.0
568 stars 211 forks source link

force_ssl was removed from REST API Shop #244

Open nickfthedev opened 2 years ago

nickfthedev commented 2 years ago

I get this error in shopify partners dashboard:

force_ssl was removed from REST API Shop

hjarnaa commented 2 years ago

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

anasiqbalkhan commented 2 years ago

Hi, any update on this ?

dvdheiden commented 2 years ago

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.

hjarnaa commented 2 years ago

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

loughlincodes commented 2 years ago

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 😅