Claytondus.AmazonMWS
Claytondus.AmazonMWS copied to clipboard
Malformed Input
Hi, now i got the issue after come back again.
You need to recode the WriteFragmentTo in the Claytondus.AmazonMWS.Products.Model.MoneyType class. With the german localization the ".ToString" function convert the decimal "Amount" -> 12.99M to 12,99 but amazon need the dot version 12.99 .
So you need to change : writer.Write("Amount", _amount);
to
writer.Write("Amount", _amount?.ToString(CultureInfo.InvariantCulture));
and it works for EUR. Please test it also for USD account. I can't test this without a USD account
@claytondus Can you merge this to master please?