Skip to main content

Overview

1

Theme app extension block

Drop <div id="fc-slot"> and the script tag onto the product page. Block settings: workflowId, presentation. Per-product via the metafield filecheck.workflowId.
2

Cart attributes

Write jobId to cart.attributes['Filecheck Job'] via the AJAX Cart API once canProceed === true. Disable Add to cart client-side until then.
3

Order webhooks

On orders/paid, read note_attributes['Filecheck Job'], call GET /jobs/{id} with your secret key, and attach the output file via the Files API.
4

Embedded admin

Build a Polaris + App Bridge admin for key entry, the workflow picker, default presentation, and the metafield writer.

Connector (optional)

Store the connector JSON in a metafield (filecheck.connector) and pass it as the connector option to drive quantity and size inputs from file facts.

Billing

Use usage-based billing via the Shopify Billing API (per check).