source/Application/Model/Basket.php
public function getPriceForPayment()
    {
        $dPrice = $this->getDiscountedProductsBruttoPrice();
        //#1905 not discounted products should be included in payment amount calculation
        if ($oPriceList = $this->getNotDiscountProductsPrice()) {
            $dPrice += $oPriceList->getBruttoSum();
        }

        // adding delivery price to final price
        if ($oDeliveryPrice = $this->_aCosts['oxdelivery']) {
            $dPrice += $oDeliveryPrice->getBruttoPrice();
        }

        return $dPrice;
    }
public function getPriceForPayment()
    {
        $dPrice = $this->getDiscountedProductsBruttoPrice();
        //#1905 not discounted products should be included in payment amount calculation
        if ($oPriceList = $this->getNotDiscountProductsPrice()) {
            $dPrice += $oPriceList->getBruttoSum();
        }

        // adding delivery price to final price
        if ($oDeliveryPrice = $this->_aCosts['oxdelivery']) {
            $dPrice += $oDeliveryPrice->getBruttoPrice();
        }

        return $dPrice;
    }
public function getPriceForPayment ( ) { $ dPrice = $ this -> getDiscountedProductsBruttoPrice ( ) ; //#1905 not discounted products should be included in payment amount calculation if ( $ oPriceList = $ this -> getNotDiscountProductsPrice ( ) ) { $ dPrice += $ oPriceList -> getBruttoSum ( ) ; } // adding delivery price to final price if ( $ oDeliveryPrice = $ this -> _aCosts [ 'oxdelivery' ] ) { $ dPrice += $ oDeliveryPrice -> getBruttoPrice ( ) ; } return $ dPrice ; }
Get basket price for payment cost calculation. Returned price
is with applied discounts, vouchers and added delivery cost

@return double
Get basket price for payment cost calculation . Returned price is with applied discounts vouchers and added delivery cost