Filecheck.mount.
Filecheck.mount handles mounting into #fc-inline, cart-button gating, dialog creation, and the proof gallery. The only platform-specific code is the status to hidden fc_job_id write for server-side verification.
Per-platform differences
- Module admin: store publishable key, secret key,
agentId, defaultworkflowId, presentation, and per-productworkflowId/connectorIdoverrides. - Add-to-cart / checkout: validate that
jobIdwas submitted; persist it as an order attribute. - Post-purchase: use the secret key server-side to fetch output and attach it to the order.