Reputation: 1141
In my app I plan to use the pay pal buy now button to sell tickets.
My plan is to
However at this point I would have closed the reservation and they would have paid but I have no ticket for them
How do I handle this pattern?
Upvotes: 0
Views: 58
Reputation: 887
Using PayPal buy now button you will always have that problem because the payment itself happens in PayPal site and you don't know exactly when.
In your case is better to use an Express Checkout, where the last step of the payment process will occur in your site. This means that you can verify that there are possible reservations just before the payment is done.
If you look at the process flow from the following image, you can verify if reservations are open just before calling DoExpressCheckoutPayment:
Upvotes: 0