Core/ViewConfig.php
public function sendOrderInfoToPayPal()
    {
        $sendInfoToPayPalEnabled = $this->getPayPalConfig()->sendOrderInfoToPayPal();
        if ($sendInfoToPayPalEnabled) {
            /** @var \OxidEsales\PayPalModule\Model\Basket $basket */
            $basket = $this->getSession()->getBasket();
            $sendInfoToPayPalEnabled = !$basket->isFractionQuantityItemsPresent();
        }

        return $sendInfoToPayPalEnabled;
    }
public function sendOrderInfoToPayPal()
    {
        $sendInfoToPayPalEnabled = $this->getPayPalConfig()->sendOrderInfoToPayPal();
        if ($sendInfoToPayPalEnabled) {
            /** @var \OxidEsales\PayPalModule\Model\Basket $basket */
            $basket = $this->getSession()->getBasket();
            $sendInfoToPayPalEnabled = !$basket->isFractionQuantityItemsPresent();
        }

        return $sendInfoToPayPalEnabled;
    }
public function sendOrderInfoToPayPal ( ) { $ sendInfoToPayPalEnabled = $ this -> getPayPalConfig ( ) -> sendOrderInfoToPayPal ( ) ; if ( $ sendInfoToPayPalEnabled ) { /** @var \OxidEsales\PayPalModule\Model\Basket $basket */ $ basket = $ this -> getSession ( ) -> getBasket ( ) ; $ sendInfoToPayPalEnabled = ! $ basket -> isFractionQuantityItemsPresent ( ) ; } return $ sendInfoToPayPalEnabled ; }
Returns state if order info should be send to PayPal.

@return bool
Returns state if order info should be send to PayPal .