Design for a social frame
For a technical producer, this purchase recovery prototype should make every player action and result shown in the game easy to evaluate. Write how to handle reloads, interrupted delivery, duplicate clicks, and insufficient Koin without double granting. Map preview, confirmation, a cancelled choice, a Koin shortage, pending, success, delivery, owned, and reload. Give every failure a safe next action. Assume voice chat, spectators, shared attention, and compact embedded space. Avoid exposing account information and keep the choice readable without covering the group activity.
Handle participant changes
Try joining late, losing focus, reconnecting, and returning after the activity is closed. Personal Koin state and item delivery should never be confused with another participant.
Keep distribution claims narrow
Discord identity, monetization rules, activity distribution, permissions, persistence, refunds, and security need separate implementation review. A social browser concept does not establish those capabilities.
Name every state and owner
Separate preview, confirmation, pending, success, delivery, owned, insufficient Koin, cancel, interrupted, and reopened states. Assign later production work for identity, persistence, native billing, security, refunds, policy, and monitoring.
Define idempotent recovery
Repeated confirmation, a slow response, navigation during delivery, and reopening must resolve to one result. Record which state is authoritative and how the player can safely retry without another grant or Koin deduction.
Turn the prototype into tickets
Capture the visible behavior first, then create implementation tasks with expected examples for each transition and platform boundary. Do not translate a working browser interaction into an unsupported claim that backend commerce is complete.
Keep pending understandable
If delivery is interrupted, explain whether the result is pending, safe to retry, or already complete. Do not show both failure and success. Test that behavior using Discord activity creators. Discord distribution, identity, and monetization rules require separate implementation review.
Make retry idempotent
Repeated clicks and reloads should resolve to one purchase result. The player must never receive duplicate items or lose Koin twice. Test that behavior using Discord activity creators. Discord distribution, identity, and monetization rules require separate implementation review.
Return to a safe game state
Cancellation, too little Koin, and recoverable errors should preserve progress and offer a clear return or retry action. Test that behavior using Discord activity creators. Discord distribution, identity, and monetization rules require separate implementation review.