Hi,
1. My version is 4.1.0 build071210.223
2. I repulished the site
3. I checked the issue
The issue is still there
See the file source :
<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
PayPal
</title>
<script type="text/javascript">
function SubmitForm()
{
payment_form.submit();
}
</script>
<link href="../App_Themes/red/styles.css" type="text/css" rel="stylesheet" /><link href="../App_Themes/red/Modules.css" type="text/css" rel="stylesheet" /></head>
<body onload="SubmitForm();">
<form id="payment_form" name="payment_form" method="post" action="https://www.paypal.com/cgi-bin/webscr">
<input name="cmd" type="hidden" id="cmd" value="_cart" />
<input name="notify_url" type="hidden" id="notify_url" value="http://www.isberie.com/?orderId=b5f11462-0be8-47ff-965c-f75a607c251b&amp;EshopID=b9b0c0b4-532b-4988-96bd-492204adb3ac&amp;PaymentAction=submitPayPalHandler.ashx?orderId=b5f11462-0be8-47ff-965c-f75a607c251b" />
<input name="cancel_return" type="hidden" id="cancel_return" value="http://www.isberie.com/?orderId=b5f11462-0be8-47ff-965c-f75a607c251b&amp;EshopID=b9b0c0b4-532b-4988-96bd-492204adb3ac&amp;PaymentAction=submitPayPalHandler.ashx?orderId=b5f11462-0be8-47ff-965c-f75a607c251b&amp;status=CANCELLED" />
<input name="return" type="hidden" id="return" value="http://www.isberie.com/?orderId=b5f11462-0be8-47ff-965c-f75a607c251b&amp;EshopID=b9b0c0b4-532b-4988-96bd-492204adb3ac&amp;PaymentAction=submitPayPalHandler.ashx?orderId=00000000-0000-0000-0000-000000000000" />
<input name="custom" type="hidden" id="custom" value="b5f11462-0be8-47ff-965c-f75a607c251b" />
<input name="business" type="hidden" id="business" value="
[email protected]" />
<input name="upload" type="hidden" id="upload" value="1" />
<input name="currency_code" type="hidden" id="currency_code" value="EUR" />
<input name="lc" type="hidden" id="lc" value="FR" />
<input name="first_name" type="hidden" id="first_name" value="Marius" />
<input name="last_name" type="hidden" id="last_name" value="Hatot" />
<input name="email" type="hidden" id="email" value="
[email protected]" />
<input name="address1" type="hidden" id="address1" value="123" />
<input name="address2" type="hidden" id="address2" value="123" />
<input name="country_code" type="hidden" id="country_code" value="CA" />
<input name="city" type="hidden" id="city" value="321" />
<input name="state" type="hidden" id="state" value="quebec" />
<input name="zip" type="hidden" id="zip" value="123" />
<input name="night_phone_a" type="hidden" id="night_phone_a" value="123" />
<input name="night_phone_b" type="hidden" id="night_phone_b" value="123" />
<input name="night_phone_c" type="hidden" id="night_phone_c" value="1234" />
<div id="ProductsPlaceholder" name="ProductsPlaceholder"><input type="hidden" id="item_name_1" name="item_name_1" value="Château Tour Caillet Bordeaux Supérieur" /><
input type="hidden" id="amount_1" name="amount_1" value="31,20" /><input type="hidden" id="quantity_1" name="quantity_1" value="1" /><input type="hidden" id="shipping_1" name="shipping_1" value="14,00" /></div>
<input name="ActionUrl" type="hidden" id="ActionUrl" value="https://www.paypal.com/cgi-bin/webscr" />
</form>
</body>
</html>
If I have changed, in html file, the "31,20" with "31.20" that's work !
And I have changed the
\EShop\PayPal.aspx.cs in the customer site
decimal amount = (decimal)row[EShopData.Names.OrderedProduct.Price];
productsAll.AppendFormat(
HiddenField,
string.Format(
AmountItem,
index.ToString()
),
HttpUtility.HtmlAttributeEncode(amount.ToString("0.00")
.Replace(",","."))
);
And IT'S WORK !
Please do something
Thanks