{"data":{"slug":"discovered-2c60d88b5836fb43467a8d3a13ed623536437c3bd370ea11","title":"Roblox Idempotent Economy Transactions","summary":"Build deterministic Roblox purchase fulfillment with verified receipts, exact grants, duplicate protection, and auditable transaction records.","url":"https:\/\/skillshunter.net\/skills\/discovered-2c60d88b5836fb43467a8d3a13ed623536437c3bd370ea11","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-2c60d88b5836fb43467a8d3a13ed623536437c3bd370ea11","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-2c60d88b5836fb43467a8d3a13ed623536437c3bd370ea11.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-2c60d88b5836fb43467a8d3a13ed623536437c3bd370ea11\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the server owns product IDs, prices, entitlements, receipt decisions, and grant definitions. Validate product configuration and reject unknown product IDs safely. Use an atomic or concurrency-safe grant\/receipt operation to prevent partial duplication.","instructions":"---\nname: roblox-idempotent-economy-transactions\ndescription: Build deterministic Roblox purchase fulfillment with verified receipts, exact grants, duplicate protection, and auditable transaction records.\n---\n\n# Roblox Idempotent Economy Transactions\n\n## Mission\nEnsure every paid product maps to a fixed, server-owned grant and duplicate receipt delivery cannot duplicate value.\n\n## Procedure\n1. Inspect the existing MarketplaceService integration, product catalogue, currency ownership, receipt handler, save path, and V18 monetization policy before editing.\n2. Treat client purchase prompts as presentation only. The server owns product IDs, prices, entitlements, receipt decisions, and grant definitions.\n3. Process only server-provided, verified receipt data through the supported ProcessReceipt flow. Do not accept a client message as proof of payment.\n4. Persist a stable receipt\/transaction identifier with the grant decision. A repeated receipt must resolve to the same completed outcome without granting again.\n5. Use an atomic or otherwise concurrency-safe grant\/receipt operation. Reconcile grant records with player balances and handle retries or server interruption without partial duplication.\n6. Grant the exact configured fixed amount\/item. Validate product configuration and reject unknown product IDs safely.\n7. Keep monetization deterministic and player-friendly. Never introduce paid random rewards, wagers, paid rerolls, or Robux-funded chance outcomes.\n8. Test duplicate receipt delivery, interruption before\/after persistence, retry, unknown products, player departure, and conflicting concurrent requests using isolated test configurations.\n\n## Review checklist\n- Product ID resolves to exactly one fixed grant definition.\n- The grant is server-side and cannot be edited by client input.\n- Receipt identifiers are durable and deduplicated.\n- A repeated receipt cannot grant twice.\n- Unknown\/invalid products are not silently fulfilled.\n- No paid chance mechanics exist.\n- Reconciliation and support evidence do not expose private player data.\n\n## Handoff\nReturn the product\/grant matrix, transaction state model, idempotency key design, persistence contract, failure\/replay scenarios, test results, and any live receipt checks not run.\n\n## V18 shared workflow and handoff contract\n\n- Follow root AGENTS.md and v18\/docs\/SKILL_INTEROPERABILITY.md; consume the current work item and project profile when present.\n- Own only the bounded responsibility assigned. Do not silently redefine shared APIs, schemas, remotes, data ownership, or another specialist's files.\n- Return a structured handoff: scope, inputs, decisions, changed files, contracts consumed\/produced, checks actually run, evidence, risks, blockers, and next owner.\n- Update task\/evidence artifacts. Use PASS only for checks that actually ran; keep unavailable Studio\/device\/live-service checks NOT_RUN or BLOCKED.\n- Re-route when scope changes. Skills do not grant tools, permissions, MCP connections, or runtime capabilities.\n\n## V19 verification and evaluation contract\n\n- Select verification from changed paths, impacted systems, trust boundaries, and failure impact; do not run or report unrelated checks as proof.\n- Separate formatting, static analysis, unit, contract, integration, Studio, multi-client, device, performance, persistence, economy, and live-service checks.\n- A plan is not an execution result. Preserve NOT_RUN and BLOCKED states for checks that did not run.\n- A PASS requires the exact command or scenario, named environment, tool\/runtime version, build identity, expected behavior, observed behavior, and a non-empty inspectable evidence artifact.\n- Keep failures visible. Do not weaken acceptance criteria, delete negative benchmark cases, or convert a failed check into a pass.\n- Deterministic routing benchmarks measure router behavior only; they do not prove model reasoning quality, skill compliance, or game correctness.\n\n## V20 production reliability contract\n\n- Treat the server as authority for consequential state and enforce an explicit remote allowlist, server validation, ownership\/context checks, bounded payloads, and rate limits.\n- Make persistence writes retry-safe, migrations deterministic\/idempotent, and recovery decisions explicit; isolate tests from production data.\n- Fulfill fixed-price products from server-verified receipts with idempotent exact grants; preserve the V18 no-gambling policy.\n- Use staged rollouts, feature flags, a kill switch, schema compatibility, monitoring, and a data-safe rollback\/forward-recovery plan.\n- Track actionable service-health metrics and alerts; protect dashboards and redact personal data\/secrets from logs.\n- Static contracts and CI do not prove live Roblox services or production behavior; record environment-specific checks with V19 evidence rules.\n","use_cases":["Implementing server-side purchase fulfillment in Roblox","Ensuring idempotent receipt processing for Roblox transactions","Validating product grants and preventing duplicate item delivery","Auditing transaction records for compliance and reconciliation"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Aziz24666\/Codex_Roblox_skills\/blob\/eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c\/v20\/codex-skills\/roblox-idempotent-economy-transactions\/SKILL.md","source_commit":"eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:00:00.000000Z","updated_at":"2026-11-30T06:51:47.000000Z","seo_title":"Roblox Idempotent Economy Transactions","seo_description":"Implement deterministic and secure Roblox economy transactions with verified receipts, exact grants, and duplicate protection.","seo_keywords":["Roblox economy transactions","idempotent purchase fulfillment","verified receipt processing","server-side grant validation","duplicate protection in Roblox","deterministic transaction records"]}}