I have a question to ask about payment strategy with Stripe Checkout API. consider following scenario
- A vendor published 10 products(apples) for 5$ each in a marketplace
- A customer wants to buy 8 of them, and he fill the details and click checkout button ( stripe checkout page comes)
- But customer waits idle for 1 hr without completing the payment ( just looking at the UI)
- Mean while someone else buy all 10 apples
- first customer doesn't know about that because he is already in final payment page.
- And he pays 40 $ for 8 apples
- Transaction is fault because no apples left to deliver.
I am trying to integrate Stripe payment gateway to my marketplace platform and I could not find a solution for this kind of scenario.
Is there any feature in Stripe to handle this ? Like session timeout period ? Or What is the standard way to handle this ?
Appreciate your help.