{"action":"created","issue":{"url":"https://api.github.com/repos/Mangopay/mangopay2-php-sdk/issues/81","repository_url":"https://api.github.com/repos/Mangopay/mangopay2-php-sdk","labels_url":"https://api.github.com/repos/Mangopay/mangopay2-php-sdk/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/Mangopay/mangopay2-php-sdk/issues/81/comments","events_url":"https://api.github.com/repos/Mangopay/mangopay2-php-sdk/issues/81/events","html_url":"https://github.com/Mangopay/mangopay2-php-sdk/issues/81","id":136909162,"number":81,"title":"500 when retrieving SecureModeRedirectURL","user":{"login":"umbecanessa","id":1666201,"avatar_url":"https://avatars.githubusercontent.com/u/1666201?v=3","gravatar_id":"","url":"https://api.github.com/users/umbecanessa","html_url":"https://github.com/umbecanessa","followers_url":"https://api.github.com/users/umbecanessa/followers","following_url":"https://api.github.com/users/umbecanessa/following{/other_user}","gists_url":"https://api.github.com/users/umbecanessa/gists{/gist_id}","starred_url":"https://api.github.com/users/umbecanessa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbecanessa/subscriptions","organizations_url":"https://api.github.com/users/umbecanessa/orgs","repos_url":"https://api.github.com/users/umbecanessa/repos","events_url":"https://api.github.com/users/umbecanessa/events{/privacy}","received_events_url":"https://api.github.com/users/umbecanessa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-27T11:34:52Z","updated_at":"2016-02-29T13:10:24Z","closed_at":"2016-02-29T12:40:56Z","body":"Hey, i've a super annoying error when i'm trying to access to SecureModeRedirectURL of the CardPreAuthorization object.\r\n\r\nEvery time i Get : \r\n\r\n\\MangoPay\\ResponseException: Code: 500\r\nMessage: Internal server error. Internal Server Error\r\n\r\nDetails: MangoPay\\Libraries\\Error Object ( [Message] => Internal Server Error [Errors] => )\r\n\r\neven if I try to print it with. Is the only property in the object that create this error.\r\n\r\nHere is my code:\r\n\r\n````\r\n$CardPreAuthorization = new \\MangoPay\\CardPreAuthorization();\r\n    $CardPreAuthorization->AuthorId = $updatedCardRegister->UserId;\r\n    $CardPreAuthorization->DebitedFunds = new \\MangoPay\\Money();\r\n    $CardPreAuthorization->DebitedFunds->Currency = \"EUR\";\r\n    $CardPreAuthorization->DebitedFunds->Amount = $_SESSION['amount']*100;\r\n    $CardPreAuthorization->SecureMode = \"DEFAULT\";\r\n    $CardPreAuthorization->CardId = $card->Id;\r\n    $CardPreAuthorization->SecureModeReturnURL = \"https://mywebsite/index.php\";\r\n      \r\n    $CreatePreAuthorization = $mangoPayApi->CardPreAuthorizations->Create($CardPreAuthorization);\r\n   echo $CreatePreAuthorization->SecureModeRedirectURL;\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Mangopay/mangopay2-php-sdk/issues/comments/190203854","html_url":"https://github.com/Mangopay/mangopay2-php-sdk/issues/81#issuecomment-190203854","issue_url":"https://api.github.com/repos/Mangopay/mangopay2-php-sdk/issues/81","id":190203854,"user":{"login":"hobailey","id":1564439,"avatar_url":"https://avatars.githubusercontent.com/u/1564439?v=3","gravatar_id":"","url":"https://api.github.com/users/hobailey","html_url":"https://github.com/hobailey","followers_url":"https://api.github.com/users/hobailey/followers","following_url":"https://api.github.com/users/hobailey/following{/other_user}","gists_url":"https://api.github.com/users/hobailey/gists{/gist_id}","starred_url":"https://api.github.com/users/hobailey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobailey/subscriptions","organizations_url":"https://api.github.com/users/hobailey/orgs","repos_url":"https://api.github.com/users/hobailey/repos","events_url":"https://api.github.com/users/hobailey/events{/privacy}","received_events_url":"https://api.github.com/users/hobailey/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T13:10:24Z","updated_at":"2016-02-29T13:10:24Z","body":"OK, thanks for the update :-)"}}