sveawebpay / dotnet-integration

SDK for Sveas standalone payment methods
Other
5 stars 14 forks source link

All machine-read ToString() should be CultureInvariant. #10

Closed irkush closed 11 years ago

irkush commented 11 years ago

Most data that is being parsed into Xml-messages have no culture specified and can thus depending on the running environment be formatted differently.

Should specify:

var xmlValue = myInt.ToString(CultureInfo.InvariantCulture);

for all these cases to avoid future problems.

Sinsabre commented 11 years ago

Solved in b09f10fbf80d8b0f4db01071e08ea83c72e3c4e0