{"action":"opened","issue":{"url":"https://api.github.com/repos/AuthorizeNet/sdk-dotnet/issues/59","labels_url":"https://api.github.com/repos/AuthorizeNet/sdk-dotnet/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/AuthorizeNet/sdk-dotnet/issues/59/comments","events_url":"https://api.github.com/repos/AuthorizeNet/sdk-dotnet/issues/59/events","html_url":"https://github.com/AuthorizeNet/sdk-dotnet/issues/59","id":55140904,"number":59,"title":"Amounts are converted to string using enviroment culture. But invariant culture should be used","user":{"login":"pauliusg","id":1721818,"avatar_url":"https://avatars.githubusercontent.com/u/1721818?v=3","gravatar_id":"","url":"https://api.github.com/users/pauliusg","html_url":"https://github.com/pauliusg","followers_url":"https://api.github.com/users/pauliusg/followers","following_url":"https://api.github.com/users/pauliusg/following{/other_user}","gists_url":"https://api.github.com/users/pauliusg/gists{/gist_id}","starred_url":"https://api.github.com/users/pauliusg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pauliusg/subscriptions","organizations_url":"https://api.github.com/users/pauliusg/orgs","repos_url":"https://api.github.com/users/pauliusg/repos","events_url":"https://api.github.com/users/pauliusg/events{/privacy}","received_events_url":"https://api.github.com/users/pauliusg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-22T11:10:43Z","updated_at":"2015-01-22T11:10:43Z","closed_at":null,"body":"for example in CardPresentPriorAuthCapture.cs file (and in many other places) there is a code line:\r\nthis.Queue(ApiFields.Amount, amount.ToString());\r\n\r\nSo, if in your environment decimal separator is \",\", then decimal 5.5M is converted to string \"5,5\".\r\n\r\nit should be: \r\nthis.Queue(ApiFields.Amount, amount.ToString(CultureInfo.InvariantCulture));\r\n\r\nBecause in AIM_guide.pdf documentation field x_amount description says:\r\nValue: Amount of the transaction.\r\nFormat: 15 digit-maximum, with a decimal point (no dollar symbol). For\r\nexample, 8.95.\r\nNotes: This is the total amount and must include tax, shipping, and any\r\nother charges."}}