{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/webpayments/issues/38","labels_url":"https://api.github.com/repos/w3c/webpayments/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/w3c/webpayments/issues/38/comments","events_url":"https://api.github.com/repos/w3c/webpayments/issues/38/events","html_url":"https://github.com/w3c/webpayments/issues/38","id":122431591,"number":38,"title":"Should the payment request contain line item details?","user":{"login":"msporny","id":108611,"avatar_url":"https://avatars.githubusercontent.com/u/108611?v=3","gravatar_id":"","url":"https://api.github.com/users/msporny","html_url":"https://github.com/msporny","followers_url":"https://api.github.com/users/msporny/followers","following_url":"https://api.github.com/users/msporny/following{/other_user}","gists_url":"https://api.github.com/users/msporny/gists{/gist_id}","starred_url":"https://api.github.com/users/msporny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msporny/subscriptions","organizations_url":"https://api.github.com/users/msporny/orgs","repos_url":"https://api.github.com/users/msporny/repos","events_url":"https://api.github.com/users/msporny/events{/privacy}","received_events_url":"https://api.github.com/users/msporny/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":14,"created_at":"2015-12-16T05:28:40Z","updated_at":"2016-01-13T10:39:12Z","closed_at":null,"body":"The paymentRequest API currently includes a Payment Details object in a payment request:\r\n\r\nhttp://wicg.github.io/paymentrequest/specs/paymentrequest.html#paymentdetails-dictionary\r\nhttp://wicg.github.io/paymentrequest/specs/paymentrequest.html#paymentrequest-interface\r\n\r\nThe Web Payments CG's Browser API specifically does not provide such an interface because small and large retailers have stated that they do not want that information forwarded on to payment service processors (they don't want large technology companies mining their customer data).\r\n\r\nWhat is the expected use case for the payment details object?"},"comment":{"url":"https://api.github.com/repos/w3c/webpayments/issues/comments/171250452","html_url":"https://github.com/w3c/webpayments/issues/38#issuecomment-171250452","issue_url":"https://api.github.com/repos/w3c/webpayments/issues/38","id":171250452,"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},"created_at":"2016-01-13T10:39:12Z","updated_at":"2016-01-13T10:39:12Z","body":"> I would actually suggest that the payment request contains a remittance container, which could potentially be forwarded to all parties in the payment chain.\r\n\r\nThis seems like a good idea to consider however we should ensure we are not over-complicating the issue here. \r\n\r\nUnless the payment is being completed by the Payment App (i.e. out of band of the comms with the merchant or their PSP - likely some push payment) it seems likely that a lot of this data does not need to be sent to the Payment App in the request. The merchant will put this data into the message it sends to it's PSP after it receives a response from the Payment App authorizing the payment.\r\n\r\ni.e. In many use cases the exchange of data via the browser API is simply a request for authorization from the merchant to the user (replacing the traditional card details form submission)."}}