Hi, I'm using version 1.6.0 and was experiencing the same problem with spanish and german language. It seems the problem is caused by the amounts being shown and managed in the user locale, that is, in spanish and german, comma (,) is used for decimal separator while in english dot (.) is used.
I have made a couple of modifications to customer/checkout_confirmation.php file and now seems to work fine (only one day working with these modifications):
Replaced line: $amount_string=sprintf("%.3f",$total_amount); by: $amount_string=sprintf("%.3F",$total_amount);
Replaced line: $order = new order($total_amount); by: $order = new order($amount_string);
Note that f format modifier is locale aware while F isn't, so amounts are now generated with "." as decimal separator independently of the locale selected.
|