Core/Events.php
public static function onDeactivate()
    {
        // If PayPal activated on other sub shops do not remove payment method and RDF setting
        if ('EE' == \OxidEsales\Eshop\Core\Registry::getConfig()->getEdition() && self::isPayPalActiveOnSubShops()) {
            return;
        }
        self::disablePaymentMethod();
        self::disablePayPalRDFA();
        self::deleteSessionBasket();
    }
public static function onDeactivate()
    {
        // If PayPal activated on other sub shops do not remove payment method and RDF setting
        if ('EE' == \OxidEsales\Eshop\Core\Registry::getConfig()->getEdition() && self::isPayPalActiveOnSubShops()) {
            return;
        }
        self::disablePaymentMethod();
        self::disablePayPalRDFA();
        self::deleteSessionBasket();
    }
public static function onDeactivate ( ) { // If PayPal activated on other sub shops do not remove payment method and RDF setting if ( 'EE' == \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getEdition ( ) && self :: isPayPalActiveOnSubShops ( ) ) { return ; } self :: disablePaymentMethod ( ) ; self :: disablePayPalRDFA ( ) ; self :: deleteSessionBasket ( ) ; }
Execute action on deactivate event

@return null
Execute action on deactivate event