models/oxpspaymorrowoxorder.php
protected function _wasPaymorrowPaymentUsed( oxBasket $oBasket )
    {
        /** @var OxpsPaymorrowOxPayment|oxPayment $oPayment */
        $oPayment = oxNew( 'OxpsPaymorrowOxPayment' );

        if ( $oPayment->load( $oBasket->getPaymentId() ) and $oPayment->isPaymorrowActiveAndMapped() ) {
            return true;
        }

        return false;
    }
protected function _wasPaymorrowPaymentUsed( oxBasket $oBasket )
    {
        /** @var OxpsPaymorrowOxPayment|oxPayment $oPayment */
        $oPayment = oxNew( 'OxpsPaymorrowOxPayment' );

        if ( $oPayment->load( $oBasket->getPaymentId() ) and $oPayment->isPaymorrowActiveAndMapped() ) {
            return true;
        }

        return false;
    }
protected function _wasPaymorrowPaymentUsed ( oxBasket $ oBasket ) { /** @var OxpsPaymorrowOxPayment|oxPayment $oPayment */ $ oPayment = oxNew ( 'OxpsPaymorrowOxPayment' ) ; if ( $ oPayment -> load ( $ oBasket -> getPaymentId ( ) ) and $ oPayment -> isPaymorrowActiveAndMapped ( ) ) { return true ; } return false ; }
Check is valid Paymorrow payment method was used in the checkout ir not.

@param oxBasket $oBasket

@return bool
Check is valid Paymorrow payment method was used in the checkout ir not .