-
Notifications
You must be signed in to change notification settings - Fork 29
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
dApp - quick pay feature #2882
Comments
Talel and I had an initial discussion how to tackle the implementation for this feature. In fact the old feature will remain as is, at it is basically part of the natural routing flow in the Vue application. Everything else were just tiny additions which re-used the existing structure. Rather we intend to add this as a complete new feature which 100% focuses on this very specific use case. Therefore we settled on the approach to introduce a new route which is responsible for all interactions. Thereby we have the guarantee that the original payment intention will never get lost though navigating around in the dApp. Having some "chached" knowledge would be a nightmare to manage and would never work reliably. For the whole flow in this single route component, we need to export everything into smaller sub-components. As basically all of the necessary partial features already exist, we must intend to re-use as many code as possible. Maybe we need to make existing components more flexible or export content of other routes to new smaller components to make them re-usable. The new route should focus 100% on managing the payment flow only without any navigation. |
This issue will become the tracker for the new route we will add for this. |
The quick pay route is meant to do transfers without much effort my the user. The URL must contain all information do to such a transfer. Then no matter if the user has ever used Raiden, this specific token network or what his connectivity and liquidity is, without one or two clicks he can do a transfer. Please checkout issue raiden-network#2882 for all the details of how the different cases look like and how the decision tree must be implemented. After all it is mostly just a smart combination of all the nice features that have been refactored/added to the dApp recently. This does not yet handle too low UDC deposits to pay for mediated transfer route requests.
The quick pay route is meant to do transfers without much effort my the user. The URL must contain all information do to such a transfer. Then no matter if the user has ever used Raiden, this specific token network or what his connectivity and liquidity is, without one or two clicks he can do a transfer. Please checkout issue raiden-network#2882 for all the details of how the different cases look like and how the decision tree must be implemented. After all it is mostly just a smart combination of all the nice features that have been refactored/added to the dApp recently. This does not yet handle too low UDC deposits to pay for mediated transfer route requests.
The quick pay route is meant to do transfers without much effort my the user. The URL must contain all information do to such a transfer. Then no matter if the user has ever used Raiden, this specific token network or what his connectivity and liquidity is, without one or two clicks he can do a transfer. Please checkout issue raiden-network#2882 for all the details of how the different cases look like and how the decision tree must be implemented. After all it is mostly just a smart combination of all the nice features that have been refactored/added to the dApp recently. This does not yet handle too low UDC deposits to pay for mediated transfer route requests.
The quick pay route is meant to do transfers without much effort my the user. The URL must contain all information do to such a transfer. Then no matter if the user has ever used Raiden, this specific token network or what his connectivity and liquidity is, without one or two clicks he can do a transfer. Please checkout issue raiden-network#2882 for all the details of how the different cases look like and how the decision tree must be implemented. After all it is mostly just a smart combination of all the nice features that have been refactored/added to the dApp recently. This does not yet handle too low UDC deposits to pay for mediated transfer route requests.
The quick pay route is meant to do transfers without much effort my the user. The URL must contain all information do to such a transfer. Then no matter if the user has ever used Raiden, this specific token network or what his connectivity and liquidity is, without one or two clicks he can do a transfer. Please checkout issue raiden-network#2882 for all the details of how the different cases look like and how the decision tree must be implemented. After all it is mostly just a smart combination of all the nice features that have been refactored/added to the dApp recently. This does not yet handle too low UDC deposits to pay for mediated transfer route requests.
The quick pay route is meant to do transfers without much effort my the user. The URL must contain all information do to such a transfer. Then no matter if the user has ever used Raiden, this specific token network or what his connectivity and liquidity is, without one or two clicks he can do a transfer. Please checkout issue #2882 for all the details of how the different cases look like and how the decision tree must be implemented. After all it is mostly just a smart combination of all the nice features that have been refactored/added to the dApp recently. This does not yet handle too low UDC deposits to pay for mediated transfer route requests.
The dApp has a feature which allows to create links that include parameters for a full payment (token address, target address, amount and payment identifier). With the current redirect functionality, this will navigate the user automatically to a transfer after he connected to the dApp. Then he either does a direct payment or has to find a route first.
While this is working, it isn't a full mature feature. It doesn't work reliable for many cases, plus it misses some useful additions.
One missing feature is the complete communication cycle. This means that other applications can create links for a user to easily make a specific payment. But once the payment is done, the user must return manually to the origin application. Furthermore does the origin application has no clue that the payment is done.
The major issue is the unreliable user flow. The current feature only works for users which have used the dApp already and have a setup connection to the specific token network the payment targets. If these requirements are not given, the user will be dropped into an on-boarding flow or a connect token flow. The issue that in the meantime the dApp forgot that the user came originally to do this specific payment.
But also if all the previous made requirements are met, it could still fail. If the user has not already a direct channel with the payment target node, he has to find a payment route via a PFS and then do a mediated transfer. So far a normal payment flow as usual. But if the PFS can't find a route in the Raiden network, the payment flow of the user will fail. The flow basically stops. He will return to the default screen and that's it. He would now have to manually open a direct channel to the target or maybe deposit more tokens into his already open channel (for the case this is the issue to find a route). But again, the dApp fully lost the state of the original intention to do this payment and return to the other application.
Having this "pay and go" feature fully working is a key to improve the usability of Raiden/the dApp and to support new projects like the Raiden PayWall.
The text was updated successfully, but these errors were encountered: