lib/active_merchant/billing/gateways/paymentez.rb in activemerchant-1.91.0 vs lib/active_merchant/billing/gateways/paymentez.rb in activemerchant-1.92.0

- old
+ new

@@ -7,11 +7,11 @@ self.test_url = 'https://ccapi-stg.paymentez.com/v2/' self.live_url = 'https://ccapi.paymentez.com/v2/' self.supported_countries = %w[MX EC VE CO BR CL] self.default_currency = 'USD' - self.supported_cardtypes = %i[visa master american_express diners_club] + self.supported_cardtypes = %i[visa master american_express diners_club elo] self.homepage_url = 'https://secure.paymentez.com/' self.display_name = 'Paymentez' STANDARD_ERROR_CODE_MAPPING = { @@ -36,10 +36,11 @@ CARD_MAPPING = { 'visa' => 'vi', 'master' => 'mc', 'american_express' => 'ax', - 'diners_club' => 'di' + 'diners_club' => 'di', + 'elo' => 'el' }.freeze def initialize(options = {}) requires!(options, :application_code, :app_key) super