The documentation of shopify APIs is pretty good. Unfortunately I failed miserably to authenticate – and this is because from my point of view the naming of the PHP client is wrong – at least for private apps.
$_ENV['SHOPIFY_API_KEY'], // => API-Schlüssel (the value in the middle)
$_ENV['SHOPIFY_API_SECRET'], // => TOKEN(!!) NOT THE SECRET!
$_ENV['SHOPIFY_APP_SCOPES'], // => Whatever you defined, comma separated.
$_ENV['SHOPIFY_APP_HOST_NAME'], // => your host without https:// and / as suffix.
Schreibe einen Kommentar