escrow

MySQL atomic operations and table locking

前提是你 提交于 2019-12-21 04:32:08
问题 I have a website where users can purchase tickets, but ticket quantities are usually limited and go quickly. I'm trying to implement an escrow system such that a user can click that they want x number of tickets, at which point I will put them in an escrow state. That gives them several minutes to enter their credit card information and complete the purchase. I have three relevant tables: events, tickets, and escrow. A row in the events table describes the event itself, including the maximum

MySQL atomic operations and table locking

亡梦爱人 提交于 2019-12-03 13:44:05
I have a website where users can purchase tickets, but ticket quantities are usually limited and go quickly. I'm trying to implement an escrow system such that a user can click that they want x number of tickets, at which point I will put them in an escrow state. That gives them several minutes to enter their credit card information and complete the purchase. I have three relevant tables: events, tickets, and escrow. A row in the events table describes the event itself, including the maximum number of tickets available. The tickets table holds the following: user_id : the user that purchased

payment integration [closed]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 07:54:50
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am going to integrate payment feature in my site. My requirement is something like Elance escrow. Like User can pay to me using their online payment account. I can hold their amount in my online payment account. They can withdraw their amount from my online payment account. So which online payment service will