Webhook data for Orders Paid

Posted by David Lazar on Stack Overflow See other posts from Stack Overflow or by David Lazar
Published on 2012-10-31T20:21:59Z Indexed on 2012/11/01 5:01 UTC
Read the original article Hit count: 206

Filed under:

A client recently requested some fancy processing based off of the Gateway attribute registered with a Paid order. When I receive, validate and inspect the JSON of the order, I am logging the gateway attribute and finding it is nil at times.

When I check the order using the API after the Webhook, the gateway attribute is present and matches the one rendered in the Shop admin.

Is there an explanation for why the gateway can at times be nil? This prevents me from taking care of the client's requested processing.

© Stack Overflow or respective owner

Related posts about shopify