{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/75","labels_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/75/comments","events_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/75/events","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/75","id":56344801,"number":75,"title":"Blank Error Messgae","user":{"login":"AdamRiddick","id":5352471,"avatar_url":"https://avatars.githubusercontent.com/u/5352471?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamRiddick","html_url":"https://github.com/AdamRiddick","followers_url":"https://api.github.com/users/AdamRiddick/followers","following_url":"https://api.github.com/users/AdamRiddick/following{/other_user}","gists_url":"https://api.github.com/users/AdamRiddick/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamRiddick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamRiddick/subscriptions","organizations_url":"https://api.github.com/users/AdamRiddick/orgs","repos_url":"https://api.github.com/users/AdamRiddick/repos","events_url":"https://api.github.com/users/AdamRiddick/events{/privacy}","received_events_url":"https://api.github.com/users/AdamRiddick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T07:47:45Z","updated_at":"2015-02-03T08:05:52Z","closed_at":null,"body":"For the following payment request, I am receiving an empty Payment Exception;\r\n\r\n\"{\\\"intent\\\":\\\"sale\\\",\\\"payer\\\":{\\\"payment_method\\\":\\\"paypal\\\"},\\\"transactions\\\":[{\\\"amount\\\":{\\\"currency\\\":\\\"GBP\\\",\\\"total\\\":\\\"11.82\\\",\\\"details\\\":{\\\"subtotal\\\":\\\"4.02\\\",\\\"shipping\\\":\\\"7.00\\\",\\\"tax\\\":\\\"0.80\\\"}},\\\"description\\\":\\\"Order \r\nNumber: 5\\\",\\\"invoice_number\\\":\\\"502/02/2015 \r\n16:39:07\\\",\\\"item_list\\\":{\\\"items\\\":[{\\\"quantity\\\":\\\"1.00\\\",\\\"name\\\":\\\"Rubber \r\nChicken\\\",\\\"price\\\":\\\"5.90\\\",\\\"currency\\\":\\\"GBP\\\",\\\"sku\\\":\\\"P-TOY-RUBBERCHICKEN\\\"},{\\\"quantity\\\":\\\"1\\\",\\\"name\\\":\\\"Subtotal \r\nDiscount\\\",\\\"price\\\":\\\"-0.59\\\",\\\"currency\\\":\\\"GBP\\\",\\\"sku\\\":\\\"discount_sku\\\"},{\\\"quantity\\\":\\\"1\\\",\\\"name\\\":\\\"Subtotal \r\nInc. Shipping \r\nDiscount\\\",\\\"price\\\":\\\"-1.29\\\",\\\"currency\\\":\\\"GBP\\\",\\\"sku\\\":\\\"discount_sku\\\"}]}}],\\\"redirect_urls\\\":{\\\"return_url\\\":\\\" \r\nhttp://localhost:44300//PayPal/CompletedPayment?orderEntityKey=5\\ \r\n\",\\\"cancel_url\\\":\\\" \r\nhttp://localhost:44300//Order/FinaliseOrder?orderEntityKey=5\\\"}}\" "},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/comments/72609745","html_url":"https://github.com/paypal/PayPal-NET-SDK/issues/75#issuecomment-72609745","issue_url":"https://api.github.com/repos/paypal/PayPal-NET-SDK/issues/75","id":72609745,"user":{"login":"AdamRiddick","id":5352471,"avatar_url":"https://avatars.githubusercontent.com/u/5352471?v=3","gravatar_id":"","url":"https://api.github.com/users/AdamRiddick","html_url":"https://github.com/AdamRiddick","followers_url":"https://api.github.com/users/AdamRiddick/followers","following_url":"https://api.github.com/users/AdamRiddick/following{/other_user}","gists_url":"https://api.github.com/users/AdamRiddick/gists{/gist_id}","starred_url":"https://api.github.com/users/AdamRiddick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdamRiddick/subscriptions","organizations_url":"https://api.github.com/users/AdamRiddick/orgs","repos_url":"https://api.github.com/users/AdamRiddick/repos","events_url":"https://api.github.com/users/AdamRiddick/events{/privacy}","received_events_url":"https://api.github.com/users/AdamRiddick/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T08:05:52Z","updated_at":"2015-02-03T08:05:52Z","body":"Ok, this isn't actually an Issue, but has turned into a question.\r\n\r\nThe PaymentsException is a child of HttpException, and somewhere up the chain they inherit from Exception.\r\n\r\nWhy does the PaymentException define it's own details page, and not utilise the mechanisms provided by .Net in the reporting of error messages? Through use of the Data, Message and InnerException fields, as intended?"}}