in

dashCommerce

An ASP.NET Open Source e-Commerce Application

Error in COUPONS - Decimal "," in european countries....

Last post 04-15-2008 9:58 AM by USRFobiwan. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-22-2008 1:41 PM

    Error in COUPONS - Decimal "," in european countries....

    If user apply a coupon that saves for example 20%, and te item price is 1000€, the discount applied is :  20000 !!! not 200,00 ....if tiried the following on PAYPALCHECKOUT.ASPX.CS :

     protected void btnCoupon_Click(object sender, EventArgs e) {
    ...............
      order.DiscountAmount = order.DiscountAmount / 100;
      lblCouponInformationDisplay.Text = StoreUtility.GetFormattedAmount(order.DiscountAmount, true);
              //re-load the order
              order = new OrderController().FetchOrder(WebUtility.GetUserName());

    ...
    }

     

    But after the order=new ordercontroller().... the DISCOUNT is 20000 again.....any ideas please ?

     

     

  • 04-15-2008 9:58 AM In reply to

    Re: Error in COUPONS - Decimal "," in european countries....

     Is this also happening with the shopping cart item counts/totals and taxes getting wrong values ?

    US: 1,200.99 
    EU: 1.200,99

     

     

    Filed under:
Page 1 of 1 (2 items)