Skip to content

DEV-3393 App Order Form Device Hash - #37

Merged
TomK merged 1 commit into
masterfrom
DEV-3393
Oct 15, 2026
Merged

TomK merged 1 commit into
masterfrom
DEV-3393

Conversation

@Jonezzyboy

@Jonezzyboy Jonezzyboy commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Legacy Windows clients (WebView2) couldn't use the in-app order form: they only act on the {"success","action"} strings and OpenLink: messages, and they have no backend to mint a session. Elite also had no way to match a purchase to the device it came from.

  • hosted-payments:
    • Legacy host protocol. Signals the end of the flow and opens legal links in the format the client acts on. Other links open in an in-page modal so the purchase isn't lost to a popup, and a continue button is added on the last pages.
    • Permanent entry URL. GET /embed/app/{app}/{flow} starts a session without a backend. It only works for credentials set to the legacy protocol and for flows listed on that credential, and it sits behind the JS identity probe.
    • Device hash. Taken from deviceHash on that URL or on /embed/order, or from device_hash on /embed/session, and appended to the Fortifi order external reference as |dh:.
    • Fix: stray anonymous customers. Ticking a terms checkbox posted consent without the session, which created one extra anonymous customer per box.
  • app-hosted: a Host Protocol setting on app credentials, and a copyable permanent URL for legacy apps. The integration steps now lead with that URL.
  • fortifi/webhooks + megameld: order webhooks (order.created, order.state.change) now include externalReference in data.

Jira: DEV-3393 · App Order Form Device Hash

Related PRs — merge in this order

Step Repo PR
1 chargehive/grpc #103
1 fortifi/webhooks #37 (this PR)
2 chargehive/app-hosted #107
2 fortifi/megameld #5509
2 pci-bridge/hosted-payments #252

PRs sharing a step can merge in either order.

@TomK
TomK merged commit 85785ff into master Oct 15, 2026
7 checks passed
@Jonezzyboy
Jonezzyboy deleted the DEV-3393 branch October 15, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants