app/code/Ebanx/Standard/Controller/Payment/Notify.php
/**
     * Get the new order status from Magento
     * @param  string $status The EBANX order status code
     * @return string The Magento order status
     */
Get the new order status from Magento
@param  string $status The EBANX order status code
@return string The Magento order status
Get the new order status from Magento @param string $status The EBANX order status code @return string The Magento order status
protected function _getOrderStatus($status)
    {
        $orderStatus = array(
            'CO' => $this->_scopeConfig->getValue('payment/standard/paid_order_status', \Magento\Store\Model\ScopeInterface::SCOPE_STORE)
          , 'PE' => $this->_scopeConfig->getValue('payment/standard/order_status', \Magento\Store\Model\ScopeInterface::SCOPE_STORE)
          , 'CA' => $this->_scopeConfig->getValue('payment/standard/cancelled_order_status', \Magento\Store\Model\ScopeInterface::SCOPE_STORE)
          , 'OP' => $this->_scopeConfig->getValue('payment/standard/order_status', \Magento\Store\Model\ScopeInterface::SCOPE_STORE)
        );
        return $orderStatus[$status];
    }
protected function _getOrderStatus ( $ status ) { $ orderStatus = array ( 'CO' => $ this -> _scopeConfig -> getValue ( 'payment/standard/paid_order_status' , \ Magento \ Store \ Model \ ScopeInterface :: SCOPE_STORE ) , 'PE' => $ this -> _scopeConfig -> getValue ( 'payment/standard/order_status' , \ Magento \ Store \ Model \ ScopeInterface :: SCOPE_STORE ) , 'CA' => $ this -> _scopeConfig -> getValue ( 'payment/standard/cancelled_order_status' , \ Magento \ Store \ Model \ ScopeInterface :: SCOPE_STORE ) , 'OP' => $ this -> _scopeConfig -> getValue ( 'payment/standard/order_status' , \ Magento \ Store \ Model \ ScopeInterface :: SCOPE_STORE ) ) ; return $ orderStatus [ $ status ] ; }
Get the new order status from Magento
 @param  string $status The EBANX order status code
 @return string The Magento order status
Get the new order status from Magento @param string $status The EBANX order status code @return string The Magento order status