Class ActiveMerchant::Billing::Integrations::Chronopay::Helper
In: lib/active_merchant/billing/integrations/chronopay/helper.rb
Parent: ActiveMerchant::Billing::Integrations::Helper

Constants

COUNTRIES_FOR_LANG = { 'ES' => %w( AR BO CL CO CR CU DO EC SV GQ GT HN MX NI PA PY PE ES UY VE), 'DE' => %w( DE AT CH LI ), 'PT' => %w( AO BR CV GW MZ PT ST TL), 'RU' => %w( BY KG KZ RU ), 'LV' => %w( LV ), 'CN1' => %w( CN ), 'NL' => %w( NL )   All currently supported checkout languages:
  es (Spanish)
  en (English)
  de (German)
  pt (Portuguese)
  lv (Latvian)
  cn1 (Chinese Version 1)
  cn2 (Chinese version 2)
  nl (Dutch)
  ru (Russian)
LANG_FOR_COUNTRY = COUNTRIES_FOR_LANG.inject(Hash.new("EN")) do |memo, (lang, countries)| countries.each do |code| memo[code] = lang

[Validate]