{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webpayments/issues/79","repository_url":"https://api.github.com/repos/w3c/webpayments","labels_url":"https://api.github.com/repos/w3c/webpayments/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webpayments/issues/79/comments","events_url":"https://api.github.com/repos/w3c/webpayments/issues/79/events","html_url":"https://github.com/w3c/webpayments/issues/79","id":130642104,"number":79,"title":"Should the payment request support multiple pricing options?","user":{"login":"adrianhopebailie","id":49902,"avatar_url":"https://avatars.githubusercontent.com/u/49902?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhopebailie","html_url":"https://github.com/adrianhopebailie","followers_url":"https://api.github.com/users/adrianhopebailie/followers","following_url":"https://api.github.com/users/adrianhopebailie/following{/other_user}","gists_url":"https://api.github.com/users/adrianhopebailie/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhopebailie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhopebailie/subscriptions","organizations_url":"https://api.github.com/users/adrianhopebailie/orgs","repos_url":"https://api.github.com/users/adrianhopebailie/repos","events_url":"https://api.github.com/users/adrianhopebailie/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhopebailie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/w3c/webpayments/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-02-02T10:34:44Z","updated_at":"2016-02-11T06:14:56Z","closed_at":null,"body":"Originally raised in the comments at https://github.com/WICG/paymentrequest/issues/41#issuecomment-178356991\r\n\r\nThere a number of reasons why a payment request may carry multiple pricing options:\r\n 1. The payee wants to explicitly accept payment in multiple currencies (USD and XBT for example)\r\n 1. The payee wants to offer different prices depending on which payment method is used.\r\n 1. The payee wants to offer multi-tender payments\r\n 1. The payee wants to offer discounted pricing under special circumstances (loyalty, coupons etc)\r\n\r\nThese use cases could be addressed in different ways:\r\n\r\n* A protocol like the Interledger Protocol would make matching the currency of the payer and payee unnecessary as the protocol would allow the payee to receive payment in the currency of their choice even if the payer pays using a different asset. The same could be said for many card based payments where currency conversion is handled by the network. i.e. For some use cases the payee simply provides a price and the payment app takes responsibility for making the payment at that price and in that currency.\r\n\r\n* Each payment method could specify a price, or there could be a base price and any methods with a variation on that price would specify their unique price.\r\n\r\n* The payment request can specify a guide price and the payment app can request updated pricing from the payee based on user input (coupon, currency selection, loyalty program login etc). This is related to the question at #76 "},"comment":{"url":"https://api.github.com/repos/w3c/webpayments/issues/comments/182733429","html_url":"https://github.com/w3c/webpayments/issues/79#issuecomment-182733429","issue_url":"https://api.github.com/repos/w3c/webpayments/issues/79","id":182733429,"user":{"login":"adrianba","id":2166064,"avatar_url":"https://avatars.githubusercontent.com/u/2166064?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianba","html_url":"https://github.com/adrianba","followers_url":"https://api.github.com/users/adrianba/followers","following_url":"https://api.github.com/users/adrianba/following{/other_user}","gists_url":"https://api.github.com/users/adrianba/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianba/subscriptions","organizations_url":"https://api.github.com/users/adrianba/orgs","repos_url":"https://api.github.com/users/adrianba/repos","events_url":"https://api.github.com/users/adrianba/events{/privacy}","received_events_url":"https://api.github.com/users/adrianba/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T06:14:56Z","updated_at":"2016-02-11T06:14:56Z","body":"We've discussed the idea of having the user agent indicate to the web page what payment method has been selected as a way of accomplishing what @alexdown suggests. This still has privacy implications, which is one reason we haven't made a more formal proposal yet. This topic also is something we can add support for later. It's not clear that merchants necessarily want to advertise all the different pricing options they might want to offer right up front."}}