I am also getting same error cause is commit in OrderReadHelper.java file :
if(paymentMethodAmounts.containsKey(paymentMethodKey)){
Double value =
(Double)paymentMethodAmounts.get(paymentMethodKey);
if(value != null)
chargedToPaymentPref =
chargedToPaymentPref.add(new BigDecimal(value.doubleValue()));
}
Thanks and Regards
Santosh Malviya
Arun Patidar wrote:
Hello all
I am getting problem during onePageCheckout process. After clicking on Continue
to 3 button ,shipping methods are empty in shipping options.
This is due to the value of type attribute ="BigDecimal" in getShipOptions
event in CustomerEvents.xml of ecommerce
Changes are in following lines.(revision no.727783 )
(line no. 1062) <set field="shippingDesc" value="${carrierShipmentMethod.partyId}
${carrierShipmentMethod.description} - $${shippingEst}" type="BigDecimal"/>
(line no. 1064) <set field="shippingDesc" value="${carrierShipmentMethod.partyId}
${carrierShipmentMethod.description} - $${uiLabelMap.OrderCalculatedOffline}" type="BigDecimal"/>
Errors is :---
[ Could not convert field value for the field: [shippingDesc] to the [BigDecimal] type
for the value [CEVA Basic Curbside - $229.1]: org.ofbiz.base.util.GeneralException: Could
not convert CEVABasicCurbside-$229.1 to BigDecimal: (Unparseable number:
"CEVABasicCurbside-$229.1")
Exception: org.ofbiz.base.util.GeneralException
Message: Could not convert CEVABasicCurbside-$229.1 to BigDecimal: (Unparseable number:
"CEVABasicCurbside-$229.1") ]
If we Remove the type ="BigDecimal" attribute from above lines then it will
work properly.
Regards
--
Arun Patidar