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

[Issue] "Submit payment" button not updating automatically on v5.0.0 #1707

Closed
josephelkhoury opened this issue Jan 9, 2024 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@josephelkhoury
Copy link
Contributor

Describe the bug
The "submit button" is not being updated automatically when we add a new payment on the payment popup.
In order to update, we need to switch from a payment type to another so that the button becomes visible.

To Reproduce
Add any item to the cart.
Click on the payment button to open the payment popup.
Enter the amount of the order and enter.
The "submit payment" button doesn't appear.

Expected behavior
It should appear once the tendered amount is equal or higher to the order total value.

Screenshots
Screenshot 2024-01-09 at 6 34 43 PM

Environment:

  • NexoPOS vesrion: 5.0.0
@Blair2004
Copy link
Owner

Hi, do you mean the "Layaway" button should be turned into "Submit Payment" ?

@josephelkhoury
Copy link
Contributor Author

Hi, do you mean the "Layaway" button should be turned into "Submit Payment" ?

Yes this is how it was done in the 4.x.x versions.
It's currently happening but only if you change the payment gateway and get back to the previous one.
It means "refreshing" is not happening automatically.

@Blair2004 Blair2004 added the bug Something isn't working label Jan 10, 2024
@Blair2004
Copy link
Owner

Yes, i've spotted the issue. It's a reactivity issue. Thank you @josephelkhoury

@josephelkhoury
Copy link
Contributor Author

It's now working perfectly (Y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants