activemerchant/active_merchant

View on GitHub

Showing 992 of 1,478 total issues

File firstdata_e4.rb has 343 lines of code (exceeds 250 allowed). Consider refactoring.
Open

module ActiveMerchant #:nodoc:
  module Billing #:nodoc:
    class FirstdataE4Gateway < Gateway
      # TransArmor support requires v11 or lower
      self.test_url = 'https://api.demo.globalgatewaye4.firstdata.com/transaction/v11'
Severity: Minor
Found in lib/active_merchant/billing/gateways/firstdata_e4.rb - About 4 hrs to fix

    File jetpay.rb has 342 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    module ActiveMerchant #:nodoc:
      module Billing #:nodoc:
        class JetpayGateway < Gateway
          class_attribute :live_us_url, :live_ca_url
    
    
    Severity: Minor
    Found in lib/active_merchant/billing/gateways/jetpay.rb - About 4 hrs to fix

      Class SimetrikGateway has 33 methods (exceeds 20 allowed). Consider refactoring.
      Open

          class SimetrikGateway < Gateway
            self.test_url = 'https://payments.sta.simetrik.com/v1'
            self.live_url = 'https://payments.simetrik.com/v1'
      
            class_attribute :test_auth_url, :live_auth_url, :test_audience, :live_audience
      Severity: Minor
      Found in lib/active_merchant/billing/gateways/simetrik.rb - About 4 hrs to fix

        Class OptimalPaymentGateway has 33 methods (exceeds 20 allowed). Consider refactoring.
        Open

            class OptimalPaymentGateway < Gateway
              self.test_url = 'https://webservices.test.optimalpayments.com/creditcardWS/CreditCardServlet/v1'
              self.live_url = 'https://webservices.optimalpayments.com/creditcardWS/CreditCardServlet/v1'
        
              # The countries the gateway supports merchants from as 2 digit ISO country codes
        Severity: Minor
        Found in lib/active_merchant/billing/gateways/optimal_payment.rb - About 4 hrs to fix

          Class PlexoGateway has 33 methods (exceeds 20 allowed). Consider refactoring.
          Open

              class PlexoGateway < Gateway
                self.test_url = 'https://api.testing.plexo.com.uy/v1/payments'
                self.live_url = 'https://api.plexo.com.uy/v1/payments'
          
                self.supported_countries = ['UY']
          Severity: Minor
          Found in lib/active_merchant/billing/gateways/plexo.rb - About 4 hrs to fix

            Class RedsysRestGateway has 33 methods (exceeds 20 allowed). Consider refactoring.
            Open

                class RedsysRestGateway < Gateway
                  self.test_url = 'https://sis-t.redsys.es:25443/sis/rest/'
                  self.live_url = 'https://sis.redsys.es/sis/rest/'
            
                  self.supported_countries = ['ES']
            Severity: Minor
            Found in lib/active_merchant/billing/gateways/redsys_rest.rb - About 4 hrs to fix

              Class CardConnectGateway has 33 methods (exceeds 20 allowed). Consider refactoring.
              Open

                  class CardConnectGateway < Gateway
                    self.test_url = 'https://fts-uat.cardconnect.com/cardconnect/rest/'
                    self.live_url = 'https://fts.cardconnect.com/cardconnect/rest/'
              
                    self.supported_countries = ['US']
              Severity: Minor
              Found in lib/active_merchant/billing/gateways/card_connect.rb - About 4 hrs to fix

                Class KushkiGateway has 33 methods (exceeds 20 allowed). Consider refactoring.
                Open

                    class KushkiGateway < Gateway
                      self.display_name = 'Kushki'
                      self.homepage_url = 'https://www.kushkipagos.com'
                
                      self.test_url = 'https://api-uat.kushkipagos.com/'
                Severity: Minor
                Found in lib/active_merchant/billing/gateways/kushki.rb - About 4 hrs to fix

                  Class BluePayGateway has 33 methods (exceeds 20 allowed). Consider refactoring.
                  Open

                      class BluePayGateway < Gateway
                        class_attribute :rebilling_url, :ignore_http_status
                  
                        self.live_url      = 'https://secure.bluepay.com/interfaces/bp20post'
                        self.rebilling_url = 'https://secure.bluepay.com/interfaces/bp20rebadmin'
                  Severity: Minor
                  Found in lib/active_merchant/billing/gateways/blue_pay.rb - About 4 hrs to fix

                    File rapyd.rb has 339 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    module ActiveMerchant #:nodoc:
                      module Billing #:nodoc:
                        class RapydGateway < Gateway
                          class_attribute :payment_redirect_test, :payment_redirect_live
                    
                    
                    Severity: Minor
                    Found in lib/active_merchant/billing/gateways/rapyd.rb - About 4 hrs to fix

                      File barclaycard_smartpay.rb has 335 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      module ActiveMerchant #:nodoc:
                        module Billing #:nodoc:
                          class BarclaycardSmartpayGateway < Gateway
                            self.test_url = 'https://pal-test.barclaycardsmartpay.com/pal/servlet'
                            self.live_url = 'https://pal-live.barclaycardsmartpay.com/pal/servlet'
                      Severity: Minor
                      Found in lib/active_merchant/billing/gateways/barclaycard_smartpay.rb - About 4 hrs to fix

                        File card_stream.rb has 335 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        module ActiveMerchant #:nodoc:
                          module Billing #:nodoc:
                            class CardStreamGateway < Gateway
                              THREEDSECURE_REQUIRED_DEPRECATION_MESSAGE = 'Specifying the :threeDSRequired initialization option is deprecated. Please use the `:threeds_required => true` *transaction* option instead.'
                        
                        
                        Severity: Minor
                        Found in lib/active_merchant/billing/gateways/card_stream.rb - About 4 hrs to fix

                          File decidir.rb has 334 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          module ActiveMerchant #:nodoc:
                            module Billing #:nodoc:
                              class DecidirGateway < Gateway
                                self.test_url = 'https://developers.decidir.com/api/v2'
                                self.live_url = 'https://live.decidir.com/api/v2'
                          Severity: Minor
                          Found in lib/active_merchant/billing/gateways/decidir.rb - About 4 hrs to fix

                            Class CecabankJsonGateway has 32 methods (exceeds 20 allowed). Consider refactoring.
                            Open

                                class CecabankJsonGateway < Gateway
                                  include CecabankCommon
                            
                                  CECA_ACTIONS_DICTIONARY = {
                                    purchase: :REST_AUTORIZACION,
                            Severity: Minor
                            Found in lib/active_merchant/billing/gateways/cecabank/cecabank_json.rb - About 4 hrs to fix

                              Class ForteGateway has 32 methods (exceeds 20 allowed). Consider refactoring.
                              Open

                                  class ForteGateway < Gateway
                                    include Empty
                              
                                    self.test_url = 'https://sandbox.forte.net/api/v2'
                                    self.live_url = 'https://api.forte.net/v2'
                              Severity: Minor
                              Found in lib/active_merchant/billing/gateways/forte.rb - About 4 hrs to fix

                                Class VancoGateway has 32 methods (exceeds 20 allowed). Consider refactoring.
                                Open

                                    class VancoGateway < Gateway
                                      include Empty
                                
                                      self.test_url = 'https://uat.vancopayments.com/cgi-bin/ws2.vps'
                                      self.live_url = 'https://myvanco.vancopayments.com/cgi-bin/ws2.vps'
                                Severity: Minor
                                Found in lib/active_merchant/billing/gateways/vanco.rb - About 4 hrs to fix

                                  Class PayConexGateway has 32 methods (exceeds 20 allowed). Consider refactoring.
                                  Open

                                      class PayConexGateway < Gateway
                                        include Empty
                                  
                                        self.test_url = 'https://cert.payconex.net/api/qsapi/3.8/'
                                        self.live_url = 'https://secure.payconex.net/api/qsapi/3.8/'
                                  Severity: Minor
                                  Found in lib/active_merchant/billing/gateways/pay_conex.rb - About 4 hrs to fix

                                    Class CardknoxGateway has 32 methods (exceeds 20 allowed). Consider refactoring.
                                    Open

                                        class CardknoxGateway < Gateway
                                          self.live_url = 'https://x1.cardknox.com/gateway'
                                    
                                          self.supported_countries = %w[US CA GB]
                                          self.default_currency = 'USD'
                                    Severity: Minor
                                    Found in lib/active_merchant/billing/gateways/cardknox.rb - About 4 hrs to fix

                                      Class DigitzsGateway has 32 methods (exceeds 20 allowed). Consider refactoring.
                                      Open

                                          class DigitzsGateway < Gateway
                                            include Empty
                                      
                                            self.test_url = 'https://beta.digitzsapi.com/sandbox'
                                            self.live_url = 'https://beta.digitzsapi.com/v3'
                                      Severity: Minor
                                      Found in lib/active_merchant/billing/gateways/digitzs.rb - About 4 hrs to fix

                                        Class NetbanxGateway has 32 methods (exceeds 20 allowed). Consider refactoring.
                                        Open

                                            class NetbanxGateway < Gateway
                                              # Netbanx is the new REST based API for Optimal Payments / Paysafe
                                              self.test_url = 'https://api.test.netbanx.com/'
                                              self.live_url = 'https://api.netbanx.com/'
                                        
                                        
                                        Severity: Minor
                                        Found in lib/active_merchant/billing/gateways/netbanx.rb - About 4 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language