php - Multiple User buying same item -
i working on php paypal application. have number of tasks users can apply , pay using paypal. user needs particular payment cost this. when user apply particular task should not visible others.
i having task table , have table having task-user relationship(who paid task).
i want know situation when multiple users buying @ 1 time. know task should given user when pays.(from website checkout page paypal checkout page). how can manage ???
also using ipn here. should need send parameters return url?? need upper level answer not code level.
thanks
you can reservation type system similar ticketmaster. when user engages in purchase of specific task, reserve task them 15 minutes or long. insuring have enough time complete checkout process. set task unavailable in table while current user checking out, , if after 15 minutes still hasn't completed transaction cancel , make task available again.
Comments
Post a Comment