Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to set an expiration time for the payment process? #102

Open
primeri opened this issue Jan 22, 2024 · 0 comments
Open

Is it possible to set an expiration time for the payment process? #102

primeri opened this issue Jan 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@primeri
Copy link

primeri commented Jan 22, 2024

Our requirement
Our team is currently building an e-commerce website based on products with limited inventories. In order to handle concurrent transactions, we are implementing an inventory reservation system that temporarily reserves a customer's order when they proceed to checkout. Due to project constraints, we also need to be able to release these temporary reservations after a predefined time period (e.g. 15 mins) if the user has not completed the purchase in time.

Question
How can I make sure that the customer cannot go forth with the payment process after a certain time period?

Proposed solution
Add the ability to specify a transaction's expiration time in the initial POST request while creating a new payment.

@primeri primeri added the enhancement New feature or request label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant