Hi all, I've encountered an error that I have never seen before. It happens when a store owner tries to install our custom app. Couldn't find any reference to this error message. What could t...
When I use `GET /cart.js` from the AJAX API , it returns something like this: { "token": "1d19a32178501c44ef2223d73c54d16d", "note": "Hello!", "attributes": { "Gift wrap": "Yes"...
Hi all, I'm trying to create an app that modifies the cart's theme file in some way by using ScriptTags and Assets API. But I wonder whether the "sections/cart-template.liquid" asset is used in...
Hi all, I'd like to know if there's a way to generate it through some API?
I'm trying to turn my newly created custom app into a "Sales Channel" app and I'm following this guide: But when I open the App setup, there's no "S...
Here's how I've been creating a draft order: If a discount code is provided, look for it on price rules (using this api to fetch all price rules check if the provided discount co...
I'm using the Admin API (2019-04) to create discounted draft orders with this `applied_discount` property: "applied_discount":{ "value_type":"percentage", "value":20, "amount":1.19, "title":...
Hi all, On Shopify Partners dashboard, there's Payment information setting which only contains Paypal account input. We can't use PayPal to receive money in Mon...
Hi all, Some of my orders are having "No customer" on the Customer field. Here's what I'm doing: Creating draft order by using the REST Admin API ...
I'm trying to customize the payment process with Stripe. Here's what I'm trying to do: Custom storefront with Shopify-Buy SDK Create a checkout Forward to the Stripe payment page W...
No content to show

User Activity

Hi all, We've been using order.checkout_token field to check if an order was initiated by a customer (as opposed to being created via a subscription app, etc). Since it's deprecated now, I just wonder what other field we could use for similar purpose...
Hi @Luis45, I made it work with this method:   const verifyHMAC = (shopifyHmac, shopifyPayload) => { const hash = crypto .createHmac('sha256', process.env.SHOPIFY_PUBLIC_APP_SECRET) .update(shopifyPayload, 'utf8') .digest('base64'); ...
For future Googlers,This could happen when you provide an invalid app public key or secret too. So, don't forget to double-check them if you're absolutely sure that you whitelisted the correct URL  
Thanks, @Kevin_A!I completely overlooked that! Now it works query:"status:active discount_type:bogo"  
I've been using the following graphql query to retrieve Bxgy discounts, but it's returning nothing even though I have a bunch of Bxgy discounts retrievable by query:"status:active"Is this syntax correct to query by discount type? Is there any other k...
Thought it was just a glitch and would be resolved in a few hours. But it's still an issue 3 days later. 
When I edit and save a discount code on Shopify admin, its price rule is becoming Not found on the following request: /admin/api/2020-07/price_rules/{id}.json{ "errors": "Not Found" }Is it a bug? or shall I do something else to retrieve it? 
On, Admin API graphql reference there's an Object called AutomaticDiscountApplication, but I can't figure out how it's supposed to be used since it's not on the list of fields on QueryRoot and there's no reference to it on any other objects 樂.
Hi @krumholz ,I'm confused. Seems like you're trying to get the raw body by using the json body parser. I think you should usebodyParser.raw([options])instead 
Hey @SBD_ ,Thanks for replying  I did it like that and the hash differs from the hmac:hash jVjYxZpx4qaDLjW7g62RLaOKSs2H87861p7/nWuz150= hmac EKYVgsZJ4DQo5jBSMbPrUSGN6rGRWOQbYhKVnuwvpQ0=I think the cause might be the following line: app.use('/webhook...
I tried again with the following code snippet. Even the buffer lengths are different. const message = querystring.stringify(map); const providedHmac = Buffer.from(hmac, 'utf-8'); const generatedHash = Buffer.from( crypto .create...
That exclamation point used in the title is not an accident.  1. The official doc doesn't have an example for Node.js  2. On this Shopify Partners' blog post, it says:  exports.handler = (event, context, callback) => { var client_secret = event.cli...
@Johan_Land wrote:So, this is a bit of a mess. And believe it or not, this thread is currently the best documentation on how to use the query field.@Shopify, please help us out here as we're currently doing guesswork. Here's what I know so far:While ...
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.