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

Should Payment Request enable optional Total for some use cases? #858

Open
ianbjacobs opened this issue Apr 3, 2019 · 4 comments
Open

Comments

@ianbjacobs
Copy link
Collaborator

Use cases:

  • Ride sharing where total not yet known.
@oskarlh
Copy link

oskarlh commented Jul 11, 2019

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.

@ianbjacobs
Copy link
Collaborator Author

@oskarlh, can you say more about a use case where the party that calls the API allows the user to determine the total? Thanks!

@oskarlh
Copy link

oskarlh commented Jul 11, 2019

@ianbjacobs
Thanks for the reply :)

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.

@marcoscaceres
Copy link
Member

It could make for a better experience for the player than having to enter the amount in a separate web form.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants