/** * @return bool */ public function isActive() { if (!$this->_scopeConfig->isSetFlag('payment/mercadopago_standard/active')) { return false; } if (!$this->_helperCarrierData->isCountryEnabled()) { return false; } return parent::isActive(); }