public function execute()
    {
        try {
            $this->order = $this->loadOrder();
            $installments = new InstallmentsMethod(
                $this->_objectManager->create('Magento\Framework\App\Config\ScopeConfigInterface'),
                $this->_objectManager->create('Magento\Framework\Module\ModuleList'),
                $this->order,
                $this->_objectManager->create('UOL\PagSeguro\Helper\Library'),
                $data = [
                    'brand' => $this->getRequest()->getParam('credit_card_brand'),
                    'international' => $this->getRequest()->getParam('credit_card_international')
                ]
            );
            return $this->place($installments);

        }
        catch (\Exception $exception) {
            if (!is_null($this->order)) {
                $this->changeOrderHistory('pagseguro_cancelada');
            }
            $this->clearSession();

            return $this->whenError($exception->getMessage());
        }
    }