- PHP - 7.4
- Laravel - 8
composer install
php artisan migrateIn your app's settings on your Shopify Partner dashboard, you need to set the callback URL to be:
https://(your-domain).com/And the redirect_uri to be:
https://(your-domain).com/authenticateThe callback URL will point to the home route, while the redirect_uri will point to the authentication route.
NOTE:Those two URLs must start with https, otherwise you will get an error message: "Oauth error invalid_request: The redirect_uri is not whitelisted"
SHOPIFY_API_KEY={your shopify api key}
SHOPIFY_API_SECRET={your shopify secret}