GenBay is engineered exclusively around timed auction listings and competitive bidding dynamics. This chapter covers the underlying mechanisms that make GenBay's auction engine fair, competitive, and technically resilient.
Anti-Snipe Protection (Popcorn Bidding)
Auction "sniping" occurs when automated bots or predatory bidders place bids in the final fraction of a second, preventing legitimate buyers from reacting and often closing auctions below fair market value.
How Popcorn Bidding Solves This:
- Administrators configure a Danger-Zone Window (e.g., within 2 minutes of the auction's scheduled end).
- If any participant places a valid bid during this window, the auction timer automatically extends by a configured duration (e.g., +5 minutes).
- The clock extension repeats as long as competitive bidding continues in the danger zone, until all participants concede.
Business Benefits:
- Fair Opportunity: Gives human bidders time to evaluate and submit counter-bids.
- Maximum Value: Sellers and the platform achieve true market prices for high-demand items.
- Bot Neutralization: Eliminates the unfair advantage of third-party sniper scripts.
Proxy Bidding (Automated Auto-Bid)
Proxy bidding allows buyers to participate in auctions without needing to watch the countdown clock continuously.
How Proxy Bidding Works:
- A bidder submits their Maximum Ceiling Budget (e.g., $500.00 while the current bid is only $100.00).
- The maximum budget is kept completely confidential and is never shown to other bidders or the seller.
- The platform places an immediate bid at the lowest necessary increment ($110.00) to make the user the highest bidder.
- When competing participants place bids, the proxy engine automatically counters on the user's behalf up to their maximum ceiling.
- If two users submit proxy bids simultaneously, the engine automatically resolves collisions based on submission timestamp and highest ceiling.
Real-Time Live Bidding Updates
Auction listings incorporate seamless AJAX polling to ensure buyers always see accurate bidding states without manual browser refreshes:
- Live Countdown Clock: Second-by-second countdown that dynamically adjusts if popcorn extensions occur.
- Highest Bid & Minimum Increment: Automatically updates the required minimum next bid amount as higher bids arrive.
- Bid History Stream: Live updates to the chronological bid log showing recent bid amounts and obscured bidder usernames.
- My Bids Dashboard: Buyers can monitor all their active bids in real time from their account dashboard.
Race-Safe Bidding Architecture
High-stakes auctions often experience extreme concurrency during the closing minutes. GenBay prevents double-bidding and duplicate transactions through database-level safety controls:
- Transaction-Level Locking: Uses pessimistic database locking (
lockForUpdate()) during bid placement to ensure sequential processing. - Wallet Security Holds: When a bid requires a security deposit, wallet balances are locked within an atomic transaction.
- Integrity Validation: Every bid is checked against the current highest bid at the exact moment of execution, guaranteeing no bids below the required increment are accepted.
Automated Winner Determination & Order Flow
When an auction reaches its final expiration timestamp:
- Scheduler Evaluation: The automated command
php artisan auction:winnerevaluates all expired auctions. - Declaring the Winner: The highest valid bidder is designated as the auction winner.
- Order Generation: A post-auction order is automatically constructed with status Pending Payment.
- Notifications: Winner notification emails and seller alerts are dispatched via background queue workers.
- Checkout & Fulfillment: The winning buyer completes checkout from their dashboard, deducting payment from their wallet or paying through integrated gateways.