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

Price сhanging during BithompID payment #202

Open
Anna15170221 opened this issue Jan 10, 2025 · 0 comments
Open

Price сhanging during BithompID payment #202

Anna15170221 opened this issue Jan 10, 2025 · 0 comments
Assignees

Comments

@Anna15170221
Copy link
Contributor

Users refresh the page after starting the payment process or switch devices (e.g., start on a phone and continue on a computer).
This probably causes the payment price to change. It needs to be checked.

Proposed solutions during discussion of the problem:

  • Implement price updates using a websocket to ensure real-time accuracy.
  • Lock the price at the start of the process and store it in the URL using dt to avoid extra backend requests.
  • If updatedAt exceeds 30 minutes or an error occurs, prompt the user to restart the process.
  • If the process has already started, automatically show the amount received without requiring additional confirmation clicks.
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