Closed
Description
I'm using Shopify/shopify-api-php library to try to connect to an online store but when i'm using provided methods Context::initialize() like docs on and nothing happens.
I would like to be able to get the online store access token
Nothing happens and not file provided in path SHOPIFY_SESSION_STORAGE_PATH in my custom path /tmp/shopify_session
Steps to reproduce the problem
- initialize context with Context::initialize() method
There is the following used code:
Context::initialize(
apiKey: $_ENV['SHOPIFY_API_KEY'],
apiSecretKey: $_ENV['SHOPIFY_API_SECRET'],
scopes: $_ENV['SHOPIFY_APP_SCOPES'],
hostName: $_ENV['SHOPIFY_APP_HOST_NAME'],
sessionStorage: new FileSessionStorage(),
apiVersion: $_ENV['SHOPIFY_API_VERSION'],
isEmbeddedApp: $_ENV['SHOPIFY_EMBEDDED_APP'],
isPrivateApp: $_ENV['SHOPIFY_PRIVATE_APP'],
);
I'm using Symfony framework and the php8.1 version on docker stack
Thank you for help
Metadata
Metadata
Assignees
Labels
No labels