{"action":"created","issue":{"url":"https://api.github.com/repos/w3c/payment-request/issues/708","repository_url":"https://api.github.com/repos/w3c/payment-request","labels_url":"https://api.github.com/repos/w3c/payment-request/issues/708/labels{/name}","comments_url":"https://api.github.com/repos/w3c/payment-request/issues/708/comments","events_url":"https://api.github.com/repos/w3c/payment-request/issues/708/events","html_url":"https://github.com/w3c/payment-request/issues/708","id":320585672,"number":708,"title":"canMakePayment always return false","user":{"login":"cozohar","id":24695665,"avatar_url":"https://avatars2.githubusercontent.com/u/24695665?v=4","gravatar_id":"","url":"https://api.github.com/users/cozohar","html_url":"https://github.com/cozohar","followers_url":"https://api.github.com/users/cozohar/followers","following_url":"https://api.github.com/users/cozohar/following{/other_user}","gists_url":"https://api.github.com/users/cozohar/gists{/gist_id}","starred_url":"https://api.github.com/users/cozohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozohar/subscriptions","organizations_url":"https://api.github.com/users/cozohar/orgs","repos_url":"https://api.github.com/users/cozohar/repos","events_url":"https://api.github.com/users/cozohar/events{/privacy}","received_events_url":"https://api.github.com/users/cozohar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-06T11:46:21Z","updated_at":"2018-05-07T10:13:09Z","closed_at":"2018-05-07T00:44:38Z","author_association":"NONE","body":"Hi,\r\nI'm trying to understand why canMakePayment always return false although I have setup a card in the broswer. (When testing locally it always return true).\r\n\r\nI configured a Visa test card in Chrome 4111111111111111 and also a real mastercard.\r\nI'm attaching the browser console. Am I doing something wrong? Is there a problem maybe?   \r\n\r\n```\r\nconst methodData = [{\r\n        supportedMethods: \"basic-card\",\r\n        data: {\r\n            supportedNetworks: [\"mastercard\",\"visa\"],\r\n            supportedTypes: [\"debit\", \"credit\"]\r\n        }\r\n    }\r\n];\r\nconst details = {\r\n    total: {\r\n        label: \"Total due\",\r\n        amount: {currency: \"USD\", value: \"10.00\"}\r\n    }\r\n};\r\nvar request = new PaymentRequest(methodData, details);\r\nPaymentRequest {id: \"c12d264e-f677-49c8-b050-2252e38f5e24\", shippingAddress: null, shippingOption: null, shippingType: null, onshippingaddresschange: null, …}\r\nrequest.canMakePayment().then((result) => {\r\nconsole.log(result);\r\n});\r\nPromise {<pending>}\r\n__proto__: Promise\r\n[[PromiseStatus]]: \"resolved\"\r\n[[PromiseValue]]: undefined\r\n\r\nfalse\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/w3c/payment-request/issues/comments/387021348","html_url":"https://github.com/w3c/payment-request/issues/708#issuecomment-387021348","issue_url":"https://api.github.com/repos/w3c/payment-request/issues/708","id":387021348,"user":{"login":"cozohar","id":24695665,"avatar_url":"https://avatars2.githubusercontent.com/u/24695665?v=4","gravatar_id":"","url":"https://api.github.com/users/cozohar","html_url":"https://github.com/cozohar","followers_url":"https://api.github.com/users/cozohar/followers","following_url":"https://api.github.com/users/cozohar/following{/other_user}","gists_url":"https://api.github.com/users/cozohar/gists{/gist_id}","starred_url":"https://api.github.com/users/cozohar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozohar/subscriptions","organizations_url":"https://api.github.com/users/cozohar/orgs","repos_url":"https://api.github.com/users/cozohar/repos","events_url":"https://api.github.com/users/cozohar/events{/privacy}","received_events_url":"https://api.github.com/users/cozohar/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T10:13:09Z","updated_at":"2018-05-07T10:13:09Z","author_association":"NONE","body":"Hi, my SSL cert wasn't valid. Now it works! \r\nThank you so much"}}
{"actor":{"display_login":"cozohar"}}