Design install and browser modes
For a technical producer, this purchase confirmation prototype should make every player action and player-visible outcome easy to evaluate. Write how to show the exact item, Koin amount, balance impact, and explicit confirm/cancel actions. Map preview, confirmation, cancelling the action, a Koin shortage, pending, success, delivery, owned, and reload. Give every failure a safe next action. Try the flow in a regular tab and an installed presentation. Navigation, focus, and recovery should remain understandable even when browser controls are reduced or the app resumes from suspension.
Treat offline state explicitly
An unavailable connection must not look like a completed purchase. Explain when the action cannot continue, preserve the game state, and provide a safe retry after connectivity returns.
Do not imply native entitlement
PWA installation does not create platform IAP ownership. Durable identity, cross-device state, refunds, billing integration, and app-store policy remain outside the browser prototype.
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.
Repeat the complete choice
The confirmation should repeat the selected item, exact Koin amount, visible Koin balance, remaining balance, and ownership rule without introducing a different offer. Test that behavior using PWA games. PWA packaging does not create native platform IAP entitlements.
Separate confirm from cancel
Use distinct actions with clear labels and enough spacing for the target input method. Returning to the game should never spend Koin. Test that behavior using PWA games. PWA packaging does not create native platform IAP entitlements.
Prevent repeated confirmation
After confirmation, show a pending state and disable repeated input until the result is known. A slow response should not create duplicate grants. Test that behavior using PWA games. PWA packaging does not create native platform IAP entitlements.