Open dmarkKd opened 7 years ago
Looks like you need SSL so https is called instead.
i have but again same problem http://prntscr.com/g6n6bx
if am run this https://110.225.200.110/dmShipping/install.php directly i got an error "Query parameter "shop" missing."
try https://110.225.200.110/dmShipping/install.php?shop=YOUR.MYSHOPIFY.URL.com Also, this lib has not been updated in awhile so try ohShopify Php lib.
thanks for your reply i will successfully install my app but when am try to get "shop data" like "get_shop.php" i got a error line number 15.
"shopifyphpish\shopify\CurlException: [6] Could not resolve host: SHOPIFY_SHOP"
can you post the contents of get_shop.php?
phpish\shopify\CurlException: [6] Could not resolve host: in /home/admin/web/dmserver.example.com/public_html/dmShipping/get_shop.php on line 14Array ( [method] => GET [uri] => https://b7578934bf19aa4c0f763b16b3964a58:5702c4b245785628d22a3822a2995970@/admin/shop.json [query] => [headers] => Array ( [content-type] => application/json; charset=utf-8 ) [payload] => ) Array ( )
The URI is incorrect. Are you trying to use a private app?
No am working with public app there ismy app url "https://apps.shopify.com/dm-shipment" but till am not publish this .
What I am saying is that the URI from the curl request above is showing a private app url. Look at private_app = true. and look at the function private_app_base_url() Your app must be passing the private app parameter.
I have successfully installed the app but when i tried to open the from shopify's admin it will redirect me on my frontend url oauth.php , can you please help me.
On line 31 of the oauth.php you can set a header(location:)
Hello , Am stuck in installation process when using the SDK http://prntscr.com/g6bfpk Here my App details and Redirect link http://prntscr.com/g6bgbz