Quote:
Originally Posted by healdem
still sounds like the PHP code
check for row locks
check for how a product migrates from being selected by a user to being purchased
check if there are any retrospective checks done after the user goes tto he checkout to make sure the product is still available
bear in mind you could be in very dodgy territory if you complete a sale and then subsequently don't have the goods.. you could be in breach of contract.
|
Thanks, I will give those a shot. I do check to make sure the item hasn't yet been sold when completing the purchase with a query, and then if the item is still available, I go ahead and update the database. This issue with the market place has happened once so far, and I track the time of the purchases too, and they both occurred at the exact same second.