{"action":"created","issue":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/328","labels_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/328/labels{/name}","comments_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/328/comments","events_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/328/events","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/328","id":87209249,"number":328,"title":"Not Able To Change Status Of Invoice","user":{"login":"amitpanwar86","id":4171262,"avatar_url":"https://avatars.githubusercontent.com/u/4171262?v=3","gravatar_id":"","url":"https://api.github.com/users/amitpanwar86","html_url":"https://github.com/amitpanwar86","followers_url":"https://api.github.com/users/amitpanwar86/followers","following_url":"https://api.github.com/users/amitpanwar86/following{/other_user}","gists_url":"https://api.github.com/users/amitpanwar86/gists{/gist_id}","starred_url":"https://api.github.com/users/amitpanwar86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitpanwar86/subscriptions","organizations_url":"https://api.github.com/users/amitpanwar86/orgs","repos_url":"https://api.github.com/users/amitpanwar86/repos","events_url":"https://api.github.com/users/amitpanwar86/events{/privacy}","received_events_url":"https://api.github.com/users/amitpanwar86/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/labels/api-bug","name":"api-bug","color":"e11d21"},{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/labels/api-invoicing","name":"api-invoicing","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-11T04:42:04Z","updated_at":"2015-06-22T19:40:42Z","closed_at":null,"body":"HI,\r\n\r\nI am facing a problem in marking invoice as `MARKED_AS_PAID`.\r\nHere is my code :\r\n\r\n````php\r\n$invoice=new Invoice();\r\n$invoice->setId($invoiceId);\r\n$invoice->setStatus(\"MARKED_AS_PAID\");\r\n$updateStatus=$invoice->update($apiContext);\r\nreturn true;\r\n````\r\n\r\nBut i am getting an error Got Http response code 400 when accessing https://api.sandbox.paypal.com/v1/invoicing/invoices/*************. I am stuck in this issue.\r\nCan anyone please tell whats wrong with this???\r\n\r\nMany Thanks in Advance,"},"comment":{"url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/comments/114232802","html_url":"https://github.com/paypal/PayPal-PHP-SDK/issues/328#issuecomment-114232802","issue_url":"https://api.github.com/repos/paypal/PayPal-PHP-SDK/issues/328","id":114232802,"user":{"login":"jaypatel512","id":1309895,"avatar_url":"https://avatars.githubusercontent.com/u/1309895?v=3","gravatar_id":"","url":"https://api.github.com/users/jaypatel512","html_url":"https://github.com/jaypatel512","followers_url":"https://api.github.com/users/jaypatel512/followers","following_url":"https://api.github.com/users/jaypatel512/following{/other_user}","gists_url":"https://api.github.com/users/jaypatel512/gists{/gist_id}","starred_url":"https://api.github.com/users/jaypatel512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaypatel512/subscriptions","organizations_url":"https://api.github.com/users/jaypatel512/orgs","repos_url":"https://api.github.com/users/jaypatel512/repos","events_url":"https://api.github.com/users/jaypatel512/events{/privacy}","received_events_url":"https://api.github.com/users/jaypatel512/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T19:40:42Z","updated_at":"2015-06-22T19:40:42Z","body":"Hey @amitpanwar86 ! not yet unfortunately. I am still waiting for the internal team to reproduce the issue and debug the root cause. \r\n\r\n"}}