0👍
When we confirm the card payment on the front, we basically close the payment modal, and show the "order" page or whatever page you have with the current status.
We are pushing server updates of status changes from the server to the client using Pusher, which enables us to update the client for user convenience.
If using pusher or another socket based solution is not possible, you could display it in a status "please wait" and poll for server update every X time.
There is no "right or wrong" here; it just depends on your setup and what your exact requirements are…
- [Vuejs]-Has anyone implemented HMS map kit of Huawei with Vuejs?
- [Vuejs]-Vue – force update on new id in URL
Source:stackexchange.com