-
Notifications
You must be signed in to change notification settings - Fork 135
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
Should Payment Request enable optional Total for some use cases? #858
Comments
It'd also be great for sites with digital wallets if the API allowed for letting the user type in the amount to deposit. That way you don't need two interfaces (first the web interface for entering the amount, and then the PaymentRequest one for entering CC details etc.) for something that could easily be done with one. |
@oskarlh, can you say more about a use case where the party that calls the API allows the user to determine the total? Thanks! |
@ianbjacobs One possible use case would be for online casinos. A player wants to deposit some money to play with, so they press a "Deposit money" button. A PaymentRequest is made, and the player gets to choose not just what to pay with, but also how much (within limits!) they want to deposit. It could make for a better experience for the player than having to enter the amount in a separate web form. I imagine there are other types of services with digital wallets (such as video-game-cenetered stores where people can buy lots of cheap cosmetic items and don't want to have to make a new payment every time they decide to buy something small) that could find a use for it. It's just a hypothetical. Might not be useful in the end. |
It could... but equally the browser may provide a worst experience. I’d be more inclined to just leave this to sites, as they will have way more control over the experience. |
Use cases:
The text was updated successfully, but these errors were encountered: