- From: Manu Sporny <notifications@github.com>
- Date: Sun, 13 Mar 2016 19:08:10 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Message-ID: <w3c/browser-payment-api/issues/48@github.com>
Migrated from https://github.com/w3c/webpayments/issues/37: The paymentRequest API asserts that the list of accepted payment methods that a payee exposes to the payer should be a list of strings: http://wicg.github.io/paymentrequest/specs/paymentrequest.html#paymentrequest-interface For example: ```javascript ["visa", "bitcoin", "bobpay.com"] ``` The Web Payments CG Browser API asserts that the list should be composed of objects: http://wicg.github.io/web-payments-browser-api/#processing-a-payment-request For example: ```javascript acceptedScheme: [{ scheme: [ 'https://w3id.org/payment-schemes#Visa', 'https://w3id.org/payment-schemes#Mastercard', 'https://w3id.org/payment-schemes#Discover' ], transfer: { amount: '4.35', currency: 'USD' }, paymentRequestService: 'https://merchant-psp.example.com/services/getPaymentInfo' }, { scheme: 'https://w3id.org/payment-schemes#Bitcoin', transfer: { amount: '0.0177', currency: 'BTC' }, destination: '3QJmV3qfvL9SuYo34YihAf3sRCW3qSinyC' }, ``` Should list of accepted payment methods be strings or objects? --- Reply to this email directly or view it on GitHub: https://github.com/w3c/browser-payment-api/issues/48
Received on Monday, 14 March 2016 02:09:05 UTC