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

Add quantity prop to items #861

Open
felipenmoura opened this issue Apr 8, 2019 · 5 comments
Open

Add quantity prop to items #861

felipenmoura opened this issue Apr 8, 2019 · 5 comments

Comments

@felipenmoura
Copy link

User may want to buy 2 or more items of a same product and the best way to show that to the user is by showing a quantity column.

This is a very common attribute in bills and receipts and could help users feel more confident when finishing a purchase, making it more clear.
Also, unit price would be required as well.

Please let me know what do you think about it?

@marcoscaceres
Copy link
Member

We generally discourage merchants from going into this level of granularity. This is generally best handled on the checkout page itself.

We used to have a best practice note in the spec about this, but seems to have vanished :/ I'll add it again.

@felipenmoura
Copy link
Author

Got it.
Although, I do believe users see that "modal" as the last step to finish the payment process and that it is their last chance to verify everything is ok. If you have an e-commerce and users can buy many different products in different quantities, this could be of use.

Besides, that is the information people would see in the receipt.
It does not help much to see in the checkout page something like:

3x t-shirt for $30 = $90
2x mug for $15 = 30$
1x cap for $20 = $20
total = $140,00

and then, when selecting the credit card to actually pay for it, see:

t-shirt for $90
mug for $30
cap for $20
total = $140,00

You get my point? Even though the total is the same, it feels like there is a divergency.

But with that said. I do believe you have thought and discussed it through and, if this is the decision you all believe is the best practice, I will go along. Thanks.

@webpayments-specs
Copy link

webpayments-specs commented May 30, 2019 via email

@felipenmoura
Copy link
Author

Sure it does make sense.

I just thought it could be useful as an option. Developers could add this extra information according to their needs. So far, it is just not possible.

In Brazil, for example, we have the "bank billet", which usually describes the items in some level of detail. Or if you go to a market/store/restaurant, the receipt also list all the items.
I remember the first time I used this API I thought it was an "obvious" option and was searching for it in documentation for a while before giving up.

But again, if it has been thought and discussed previously, I accept the decision hehe.
I just thought it could be an interesting "opt-in" feature that would cause no harm, if available :)

Thanks for your time.

@marcoscaceres
Copy link
Member

Making as "Future Candidate Feature" - particularly as this is a regional difference/expectation and we might need to call that our (or actually add quantity) to deal with it.

@marcoscaceres marcoscaceres removed their assignment May 22, 2020
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