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

Store payment request transaction status #130

Open
4 of 5 tasks
chill117 opened this issue Feb 15, 2018 · 2 comments
Open
4 of 5 tasks

Store payment request transaction status #130

chill117 opened this issue Feb 15, 2018 · 2 comments

Comments

@chill117
Copy link
Member

chill117 commented Feb 15, 2018

  • pending - Waiting for payment
  • unconfirmed - Received a payment but its transaction is still unconfirmed
  • confirmed - Received a payment and its transaction was confirmed in a block. This will be done in the background of the app. Periodically, "unconfirmed" transactions should be checked to see if the received transaction has been confirmed in a block. If yes, then mark the payment request as "confirmed".
  • canceled - When the user clicks the "Cancel" button (if the payment request was created - 5 seconds had passed)
  • timed-out - Timed out while waiting to receive a payment. A payment request can be marked as "timed-out" after 5 minutes of waiting. This should be configurable (app.config.<something>)
@chill117 chill117 added this to the Phase 2 milestone Feb 15, 2018
@chill117 chill117 assigned chill117 and unassigned chill117 Feb 15, 2018
@karliatto
Copy link
Member

Since currently we have web socket for checking payment when would be time-out? here and when closing the view ?

@chill117
Copy link
Member Author

chill117 commented Apr 1, 2018

The remaining status (confirmed) can be moved to the next phase.

@chill117 chill117 modified the milestones: Phase 2, Phase 3 Apr 1, 2018
@chill117 chill117 removed this from the Phase 3 milestone Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants