Instead of fetching values from cart for the grand total we should fetch the value from the info object.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@780981 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -249,7 +249,7 @@ public class GoogleCheckoutHelper {
|
||||
}
|
||||
|
||||
// set the cart payment method
|
||||
cart.addPaymentAmount(PAYMENT_METHOD, cart.getGrandTotal());
|
||||
cart.addPaymentAmount(PAYMENT_METHOD, new BigDecimal(info.getOrderTotal()));
|
||||
|
||||
// validate the payment methods
|
||||
CheckOutHelper coh = new CheckOutHelper(dispatcher, delegator, cart);
|
||||
|
||||
Reference in New Issue
Block a user