Skip to content

Commit

Permalink
Updating the order fulfillment article to point at the new post
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncanma committed Jun 9, 2024
1 parent 94ed086 commit fb87ef1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions content/Blog/order-fulfillment.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ else

At this point, the function returns a 200 OK message, and the webhook handling work is done. By pushing a message into my incoming order queue, the next Function will get triggered.

{{% note %}}Reading the documentation, I realized I hadn't handled the possibility of duplicate events (receiving the same event multiple times), so [I walked through those changes in a new article](/blog/handling-duplicate-stripe-events/).{{% /note %}}

## Get the image and create a custom link

The second function is setup with a QueueTrigger, which means it is called whenever a new message arrives in a specific Azure Storage Queue.
Expand Down
14 changes: 7 additions & 7 deletions themes/hello-friend-ng/assets/scss/_chroma.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@
/* LiteralStringRegex */ .chroma .sr { color: #ed9d13 }
/* LiteralStringSingle */ .chroma .s1 { color: #ed9d13 }
/* LiteralStringSymbol */ .chroma .ss { color: #ed9d13 }
/* LiteralNumber */ .chroma .m { color: #3677a9 }
/* LiteralNumberBin */ .chroma .mb { color: #3677a9 }
/* LiteralNumberFloat */ .chroma .mf { color: #3677a9 }
/* LiteralNumberHex */ .chroma .mh { color: #3677a9 }
/* LiteralNumberInteger */ .chroma .mi { color: #3677a9 }
/* LiteralNumberIntegerLong */ .chroma .il { color: #3677a9 }
/* LiteralNumberOct */ .chroma .mo { color: #3677a9 }
/* LiteralNumber */ .chroma .m { color: #3f8ecb }
/* LiteralNumberBin */ .chroma .mb { color: #3f8ecb }
/* LiteralNumberFloat */ .chroma .mf { color: #3f8ecb }
/* LiteralNumberHex */ .chroma .mh { color: #3f8ecb }
/* LiteralNumberInteger */ .chroma .mi { color: #3f8ecb }
/* LiteralNumberIntegerLong */ .chroma .il { color: #3f8ecb }
/* LiteralNumberOct */ .chroma .mo { color: #3f8ecb }
/* OperatorWord */ .chroma .ow { color: #6ab825; font-weight: bold }
/* Comment */ .chroma .c { color: #999999; font-style: italic }
/* CommentHashbang */ .chroma .ch { color: #999999; font-style: italic }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- $rootPath := .Site.Params.homegrownAnalytics }}
<noscript>
<img class="analytics-pixel" src="{{ $rootPath }}&page={{ .RelPermalink | urlize }}&title={{ .Title }}" height="1" width="1">
<img class="analytics-pixel" src="{{ $rootPath }}&page={{ .RelPermalink | urlize }}&title={{ .Title }}" height="1" width="1" alt="">
</noscript>
<div id="analytics">
</div>
Expand All @@ -20,6 +20,7 @@
img.height = "1";
img.width = "1";
img.className="analytics-pixel";
img.alt = "";
if (referrer) {
img.src += "&referrer=" + encodeURIComponent(referrer);
}
Expand Down

0 comments on commit fb87ef1

Please sign in to comment.