Carted commented on Help with verifying a webhook came from Shopfiy
You can only verify webhooks if they are created with an app and not through the admin panel. If you want to verify webhooks coming from the admin panel you can be creative and use a unique url such as...
View ArticleCarted commented on New product webhook POST ... ????
Peter,Shopify doesn't send POST variables instead it sends a json object to the body. You can read this in PHP with something such as$entityBody = file_get_contents('php://input');You can then json...
View Article3rd Iris Creative commented on Help with verifying a webhook came from Shopfiy
That's a bit disappointing. I'd have thought Shopify would have had a way to allow this for private apps. But thanks, I guess that will have to do
View Article3rd Iris Creative commented on Help with verifying a webhook came from Shopfiy
I guess a workaround could be to make a reverse request back to the shopify API once the hook has been called to get the order by the ID specified as I'm using the order created hook
View ArticleCarted commented on Do apps have to be hosted?
It is possible to piggy back off shopify if you can achieve the result using only JS and a HTML file. Just setup an application proxy to point to the CDN location of your asset folder and upload your...
View ArticleCarted commented on Help with verifying a webhook came from Shopfiy
There is no reason you can't setup the webhook using the API with the private app credentials. You just can't create it through the admin panel.
View Article3rd Iris Creative commented on Help with verifying a webhook came from Shopfiy
Can i still do that even though the app is only going to be an internal app used by the company?
View ArticleHunkyBill commented on Help with verifying a webhook came from Shopfiy
You really want to get this right @3rdIris... public or private, all your HTTP traffic is sniffable along the way, so you really do want to decode the token Shopify embeds in the header to prove the...
View Article3rd Iris Creative commented on Help with verifying a webhook came from Shopfiy
Thanks HunkyBill.My issue is Shopify isn't sending the verify headers. Do i HAVE to have my app create the webhooks rather than through the admin panel to have those headers? Thanks for your support
View ArticleHunkyBill commented on Help with verifying a webhook came from Shopfiy
Yes. When you create any webhook with your API key, Shopify then knows how to sign and create the token for the header. That makes sense right? When you create a "test" webhook in the admin, they have...
View Article3rd Iris Creative commented on Help with verifying a webhook came from Shopfiy
Ahh! Thanks for the explanation! Got it now, brilliant - Thank you!
View ArticleJSON Product Query by Bryant Cobarrubias
Hello. I am trying to display a list of products found in a collection. I am able to find the products when using the admin look up:https://<my...
View ArticleBryant Cobarrubias commented on JSON Product Query
To add a little perspective, here is more info about what I'm trying to do.On a page I want to have a drop down box that includes all the collections in my site. When the user selects a collection, I...
View ArticleBryant Cobarrubias commented on Products in myshopify shop not listing in...
Is there a way to filter the returned products in this call? For example, by the product_type?
View ArticleHunkyBill commented on JSON Product Query
I think you should be doing this with Liquid. It was made for that. You want the speed of server-side data generation for optimal user experience. Using Javascript like you are is just asking for a...
View ArticleBryant Cobarrubias commented on JSON Product Query
Thanks for your reply Bill. I tried to do it in Liquid. However, I don't see a way to access the selected value form the dropdown box. The form values do not seem available when the form is...
View ArticleHunkyBill commented on JSON Product Query
Building an HTML element like a <select> with Liquid is not terrible. You can do it. There are plenty of examples out there of how to do that.
View Articlecreate webhook via API (Required parameter missing or invalid) by Flo
Well. Since you can't verify webhooks which are created through the admin panel I need to create the webhook via API.I'm using the PHP Api.Here is the Output of the Exception:...
View ArticleRetrieving data without programming by Brian Kerr
Just to let you all know - if you want to extract some data from the API without coding, you can paste the JSON into json-csv.com
View ArticlePartner Development Stores using analytics.js instead of universal.js by...
I'm attempting to debug some new Google Analytics universal.js code on a partner development site. The problem is, my partner development site seems to load analytics.js Google Analytics code (_gaq)...
View Article