Skip to content

Shopify fixes OrderTransaction.totalUnsettledSet for pending captures ​

Provider
Shopify
Endpoint
POST /admin/api/{version}/graphql.json
Effective
2026-04-24
Severity
low
Change
field-rename
Status
unverified (secondary reports only; SHAPI does not open fix PRs for it)

What changed ​

OrderTransaction.totalUnsettledSet no longer double-counts a pending capture: for a $100 authorization with a $50 pending capture it returns $100, not $150. The fix applies to all API versions at once and only affects multi-capture orders.

What to do ​

Check any logic that compensated for the inflated totalUnsettledSet on multi-capture orders; the field now returns the amount still capturable.

Sources ​

Check your code ​

bash
npx shapi-cli scan .

shapi scan lists the call sites this change affects; shapi fix repairs them test-first when the advisory has an automatic fix. All advisories · Markdown · OSV · JSON