Huqitod Topup – Game Top-Up Platform

High-traffic game top-up and digital delivery platform.

Year2024
RoleBackend Engineer (Freelance)
LaravelDockerUbuntu Server

Overview

Backend engineering for a high-traffic game top-up and digital delivery platform with reliable payment and fulfillment flows.

The Challenge

Race conditions where two users might trigger the same API callback, causing double delivery of digital goods.

The Solution

Implement Database Transactions and Idempotency Keys for all payment callbacks. This ensures that even if an API provider sends a "Success" webhook twice, the system only processes the top-up once.

Results

  • Eliminated double-delivery risk with idempotency
  • Reliable high-traffic payment and fulfillment