OrderCloud Token Refresh in Next.js: A Production Pattern for SSR Storefronts
OrderCloud project I’ve worked on ships its first version with a token refresh bug. It rarely shows up in dev. It doesn’t show up in QA. It shows up in production — three weeks after launch, on a real device, when two requests happen to refresh at the same moment and one of them gets…
Part 2 — Implementing a Reusable Sitecore Search + OrderCloud Bridge
In the first part, we discussed the architecture behind connecting Sitecore Search and OrderCloud through a centralized bridge. Now let’s look at the actual implementation approach. The idea was never to build something tightly coupled to a single project.The goal was to create a reusable pattern that can work across any Search + Commerce implementation.…
Bridging Sitecore Search and OrderCloud in Next.js
A Centralized, Reusable Architecture Why This Matters When working with Sitecore Search (Discover) and OrderCloud, one problem always shows up: They don’t naturally talk to each other. But neither understands the other. The result:Disconnected experiences, duplicate logic, and fragile integrations. The Core Problem To deliver a real commerce experience: Sitecore Search needs: OrderCloud needs: The…
