forked from w3c/payment-request
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support different amounts per payment method.
This is a proposal for issue w3c#4: Should it be possible to vary amounts depending on payment method. The goal of this change is to make it simple for web developers in the majority case when price does not vary by payment method. If a developer wishes to have a different price for specific payment methods then they include a PaymentDetailsModifier that includes the new total amount and optionally additional display items that are appended to the main payment details display items for display. This allows the developer to explain why the price is different due to a discount or surcharge, for example.
- Loading branch information
Showing
1 changed file
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters