 
         let totalPaymentMethodSearchCount = search.getPaymentOptionsCount()
         self.paymentMethodPluginsToShow = getPluginPaymentMethodToShow()
-        let totalPaymentMethodsToShow =  totalPaymentMethodSearchCount + paymentMethodPluginsToShow.count
+        let totalPaymentMethodsToShow = totalPaymentMethodSearchCount + paymentMethodPluginsToShow.count
 
         if totalPaymentMethodsToShow == 0 {
             self.errorInputs(error: MPSDKError(message: "Hubo un error".localized, errorDetail: "No se ha podido obtener los métodos de pago con esta preferencia".localized, retry: false), errorCallback: { () in

    }

    func reviewConfirmViewModel() -> PXReviewViewModel {
        return PXReviewViewModel(amountHelper: self.amountHelper, paymentOptionSelected: self.paymentOptionSelected!, advancedConfig: advancedConfig, userLogged: !String.isNullOrEmpty(privateKey))
    }


    func getAdvancedConfiguration() -> PXAdvancedConfiguration {
        return advancedConfig
    }

    private func disableChangePaymentMethodIfNeed() {
        if let pmSearch = search, let firsPm = pmSearch.paymentMethods.first, pmSearch.getPaymentOptionsCount() + paymentMethodPluginsToShow.count == 1, !firsPm.isCard {
            advancedConfig.reviewConfirmConfiguration.disableChangeMethodOption()
        }
    }
}

// MARK: Payment Flow
