Controller/Admin/OrderController.php
public function isPayPalOrder()
    {
        $active = false;

        $order = $this->getEditObject();
        if ($order && $order->getFieldData('oxpaymenttype') == 'oxidpaypal') {
            $active = true;
        }

        return $active;
    }
public function isPayPalOrder()
    {
        $active = false;

        $order = $this->getEditObject();
        if ($order && $order->getFieldData('oxpaymenttype') == 'oxidpaypal') {
            $active = true;
        }

        return $active;
    }
public function isPayPalOrder ( ) { $ active = false ; $ order = $ this -> getEditObject ( ) ; if ( $ order && $ order -> getFieldData ( 'oxpaymenttype' ) == 'oxidpaypal' ) { $ active = true ; } return $ active ; }
Method checks is order was made with any PayPal module

@return bool
Method checks is order was made with any PayPal module