Diagnose a Snap4ID embed purchase that does not unlock or a photo that never arrives - error codes, binding, environment, trust mode, recovery. Use when a user paid but has no photo, or onError reports unlock problems.
Ships in snap4id. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Collect: the order code (if any), job id, paymentRef, platform, store environment (production / sandbox / Xcode),
the onError codes, and the redacted onBridgeMessage log. Never ask for receipts, keys or full signed links.
Walk the chain and stop at the first broken link:
hello from the page ⇒ the bridge is missing (Expo Go, Android without a rebuild) or the
origin was rejected (origin_rejected). embed_unavailable ⇒ wrong partner id or embedding not enabled.trust_mode_mismatch ⇒ onVerifyPurchase presence does not match the partner configuration.binding_mismatch / unlock_rejected ⇒ the store purchase lacked
appAccountToken / obfuscatedProfileId = paymentRef.unknown_product ⇒ product id missing from the configuration.
environment_not_allowed ⇒ sandbox against production without a sandbox-in-production expiry, or an Xcode / fake
receipt in production.invalid_receipt ⇒ wrong bundle id / package name or Play public key, or a revoked purchase.backend: timeout ⇒ onVerifyPurchase exceeded 15 s; Partner API 401 unauthorized ⇒ key id,
key or clock skew > 5 min.onConfirmPurchase).client.start() runs at launch and <Snap4IdResume> is mounted; onCompleted
must resolve (it is retried until it does). artifacts_unavailable resolves by itself.duplicate_purchase / already_paid ⇒ the job was paid by another transaction: refund this one.Fix the cause, then let recovery finish: restart the app (client.start()), or for backend trust re-run the unlock
(idempotent). Escalate to Snap4ID support with the order code, job id, paymentRef and Partner API requestId.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/snap4id:snap4id-debug-stuck-purchasefrom snap4id
npx claudepluginhub lradomski10m/snap4id-sdk --plugin snap4id4 skills in this plugin
/snap4id-integrate-embedAdd the Snap4ID photo flow to a React Native / Expo app with @snap4id-sdk/app-embed (client, flow screen, resume, plugins, delivery). Use when asked to integrate, embed or add Snap4ID ID photos to an app./snap4id-try-exampleRun the Snap4ID SDK's example partner app on an iOS simulator or Android emulator against the local fake Snap4ID page with the fake store (no account, no purchases), then point to onboarding for going live. Use when asked to try, demo or test Snap4ID locally, or before a partner id exists./snap4id-verify-receipts-backendImplement Snap4ID backend trust - a Node endpoint that verifies App Store / Play receipts with @snap4id-sdk/purchase-verifier and unlocks the job with @snap4id-sdk/partner-api, plus the job.paid webhook. Use when the partner verifies purchases on its own backend.