$config = array(
'ShopUrl' => '*******',
'ApiKey' => '*******',
'Password' => '*******',
'Curl' => array(
CURLOPT_TIMEOUT => 10,
CURLOPT_FOLLOWLOCATION => true
)
);
PHPShopify\ShopifySDK::config($config);
$scopes = 'read_products,write_products';
$redirectUrl = 'http://localhost:81/shopify/app.php';
\PHPShopify\AuthHelper::createAuthRequest($scopes, $redirectUrl);
I created my app
`<?php
require('vendor/autoload.php');
?>`
and it shows this:
https://tienda-del-reino.myshopify.com/admin/oauth/authorize?client_id=d31405c84dfa1d9d04f9473074c00a94&redirect_uri=http://localhost:81/shopify/app.php&scope=read_products,write_products
What im doing wrong ?