{"action":"created","issue":{"url":"https://api.github.com/repos/tkjaergaard/Economic-PHP-SDK/issues/18","repository_url":"https://api.github.com/repos/tkjaergaard/Economic-PHP-SDK","labels_url":"https://api.github.com/repos/tkjaergaard/Economic-PHP-SDK/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/tkjaergaard/Economic-PHP-SDK/issues/18/comments","events_url":"https://api.github.com/repos/tkjaergaard/Economic-PHP-SDK/issues/18/events","html_url":"https://github.com/tkjaergaard/Economic-PHP-SDK/issues/18","id":111373781,"number":18,"title":"Debtor function update is not working","user":{"login":"TosoftAlmor","id":5662578,"avatar_url":"https://avatars.githubusercontent.com/u/5662578?v=3","gravatar_id":"","url":"https://api.github.com/users/TosoftAlmor","html_url":"https://github.com/TosoftAlmor","followers_url":"https://api.github.com/users/TosoftAlmor/followers","following_url":"https://api.github.com/users/TosoftAlmor/following{/other_user}","gists_url":"https://api.github.com/users/TosoftAlmor/gists{/gist_id}","starred_url":"https://api.github.com/users/TosoftAlmor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TosoftAlmor/subscriptions","organizations_url":"https://api.github.com/users/TosoftAlmor/orgs","repos_url":"https://api.github.com/users/TosoftAlmor/repos","events_url":"https://api.github.com/users/TosoftAlmor/events{/privacy}","received_events_url":"https://api.github.com/users/TosoftAlmor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-10-14T10:54:30Z","updated_at":"2016-08-23T10:50:33Z","closed_at":null,"body":"In the function create the update function is called with a var and an array return $this->update($number, $data); But the function update only has update($data).\r\n\r\nFurthermore looking at the object created in line 483 a lot of data is not picked up due to wrong variables like 'VatZone' => $vat_zone, (should be 'VatZone' => $data['Vatzone'],).\r\n\r\nAnd the call for $params array is empty, should be $data as far as I can see\r\n\r\nBut after trying to fix these issues I now get an error: Got error 'PHP message: PHP Fatal error: SOAP-ERROR: Encoding: object has no 'Id' property in /Economics/Debtor/Debtor.php on line 507"},"comment":{"url":"https://api.github.com/repos/tkjaergaard/Economic-PHP-SDK/issues/comments/241695180","html_url":"https://github.com/tkjaergaard/Economic-PHP-SDK/issues/18#issuecomment-241695180","issue_url":"https://api.github.com/repos/tkjaergaard/Economic-PHP-SDK/issues/18","id":241695180,"user":{"login":"redayoub","id":5278152,"avatar_url":"https://avatars.githubusercontent.com/u/5278152?v=3","gravatar_id":"","url":"https://api.github.com/users/redayoub","html_url":"https://github.com/redayoub","followers_url":"https://api.github.com/users/redayoub/followers","following_url":"https://api.github.com/users/redayoub/following{/other_user}","gists_url":"https://api.github.com/users/redayoub/gists{/gist_id}","starred_url":"https://api.github.com/users/redayoub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redayoub/subscriptions","organizations_url":"https://api.github.com/users/redayoub/orgs","repos_url":"https://api.github.com/users/redayoub/repos","events_url":"https://api.github.com/users/redayoub/events{/privacy}","received_events_url":"https://api.github.com/users/redayoub/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T10:50:33Z","updated_at":"2016-08-23T10:50:33Z","body":"@tkjaergaard I'm having the same issue when I tries to create a new debtor. Could you tell us if this will fixed soo?.\r\n\r\nThanks."}}
{"actor":{"display_login":"redayoub"}}