{"action":"closed","issue":{"url":"https://api.github.com/repos/paypal/paypal-checkout/issues/422","repository_url":"https://api.github.com/repos/paypal/paypal-checkout","labels_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/422/comments","events_url":"https://api.github.com/repos/paypal/paypal-checkout/issues/422/events","html_url":"https://github.com/paypal/paypal-checkout/issues/422","id":246144303,"number":422,"title":"MALFORMED_REQUEST issue with payer.payer_info.phone and phone_type","user":{"login":"JerrodV","id":8077761,"avatar_url":"https://avatars1.githubusercontent.com/u/8077761?v=4","gravatar_id":"","url":"https://api.github.com/users/JerrodV","html_url":"https://github.com/JerrodV","followers_url":"https://api.github.com/users/JerrodV/followers","following_url":"https://api.github.com/users/JerrodV/following{/other_user}","gists_url":"https://api.github.com/users/JerrodV/gists{/gist_id}","starred_url":"https://api.github.com/users/JerrodV/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerrodV/subscriptions","organizations_url":"https://api.github.com/users/JerrodV/orgs","repos_url":"https://api.github.com/users/JerrodV/repos","events_url":"https://api.github.com/users/JerrodV/events{/privacy}","received_events_url":"https://api.github.com/users/JerrodV/received_events","type":"User","site_admin":false},"labels":[{"id":687273274,"url":"https://api.github.com/repos/paypal/paypal-checkout/labels/dependency","name":"dependency","color":"fef2c0","default":false},{"id":419031635,"url":"https://api.github.com/repos/paypal/paypal-checkout/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":{"login":"bluelnkd","id":1892368,"avatar_url":"https://avatars0.githubusercontent.com/u/1892368?v=4","gravatar_id":"","url":"https://api.github.com/users/bluelnkd","html_url":"https://github.com/bluelnkd","followers_url":"https://api.github.com/users/bluelnkd/followers","following_url":"https://api.github.com/users/bluelnkd/following{/other_user}","gists_url":"https://api.github.com/users/bluelnkd/gists{/gist_id}","starred_url":"https://api.github.com/users/bluelnkd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluelnkd/subscriptions","organizations_url":"https://api.github.com/users/bluelnkd/orgs","repos_url":"https://api.github.com/users/bluelnkd/repos","events_url":"https://api.github.com/users/bluelnkd/events{/privacy}","received_events_url":"https://api.github.com/users/bluelnkd/received_events","type":"User","site_admin":false},"assignees":[{"login":"bluelnkd","id":1892368,"avatar_url":"https://avatars0.githubusercontent.com/u/1892368?v=4","gravatar_id":"","url":"https://api.github.com/users/bluelnkd","html_url":"https://github.com/bluelnkd","followers_url":"https://api.github.com/users/bluelnkd/followers","following_url":"https://api.github.com/users/bluelnkd/following{/other_user}","gists_url":"https://api.github.com/users/bluelnkd/gists{/gist_id}","starred_url":"https://api.github.com/users/bluelnkd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluelnkd/subscriptions","organizations_url":"https://api.github.com/users/bluelnkd/orgs","repos_url":"https://api.github.com/users/bluelnkd/repos","events_url":"https://api.github.com/users/bluelnkd/events{/privacy}","received_events_url":"https://api.github.com/users/bluelnkd/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-07-27T19:27:30Z","updated_at":"2017-09-08T19:20:13Z","closed_at":"2017-09-08T19:20:12Z","author_association":"NONE","body":"Using https://www.paypalobjects.com/api/checkout.js\r\nWhere the user has the option to checkout as guest. Form requires Contact Information/Phone. Attempting to send payment.payer.payer_info.phone or .phone_type causes:\r\n\r\n\"name\":\"MALFORMED_REQUEST\",\"message\":\"Incoming JSON request does not map to API request\",\"information_link\":\"https://developer.paypal.com/webapps/developer/docs/api/#MALFORMED_REQUEST\"\r\n\r\nThe following issue discussed the same issue when using the .Net SDK:\r\nhttps://github.com/paypal/PayPal-NET-SDK/issues/258\r\nIt suggests that the phone should be passed as a property of payment.payer.payer_info.billing_address. When providing the phone there, I no longer get the error, but it does not populate the field on the form as one would expect.\r\n\r\nAlso, it does not seem logical that this is where the property would exist. The email field (checkout form) in the same Contact Information section, which populates just fine, is not part of payment.payer.payer_info.billing_address, but instead is part of payment.payer.payer_info. Why would properties displayed in the Contact Information section of the checkout be in separate objects in the parameter JSON?\r\n\r\nThanks for any help you can offer."}}
{"actor":{"display_login":"bluepnume"}}