Re: [w3c/browser-payment-api] Support for negative amounts (#119)

Refund would be done by the merchant and therefore not linked to a payment method available to him in his wallet (and it'll also imply other processes like customer support for instance).
In case of a total equals to 0, no transaction should be started with payment method at all but API should directly send "validated response". It may be tricky for security as call will be done from browser but not all payment methods will support transactions at 0 (and most of them may charge merchant even for free transaction).
Negative amounts should not be allowed through payment API. If total amount is negative, most probably it'll be transformed as a future discount inside merchant website and not a real transaction

---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/browser-payment-api/issues/119#issuecomment-207274658

Received on Friday, 8 April 2016 07:35:46 UTC