config/initializers/configuration.rb in workarea-klarna-1.0.0 vs config/initializers/configuration.rb in workarea-klarna-1.1.0.beta1
- old
+ new
@@ -10,11 +10,11 @@
config.klarn_session_expiration = 48.hours
# This controls whether requests go to the live or sandbox API endpoints.
config.klarna_playground = !Rails.env.production?
- # Continents supported by KLarna and keys used to generate paths to
+ # Continents supported by Klarna and keys used to generate paths to
# credentials via environment variables and/or rails credentials. Also used
# to get the keys for the subdomain configuration.
config.klarna_continent_keys = {
'Europe' => 'EUR',
'North America' => 'NA',
@@ -26,7 +26,15 @@
config.klarna_subdomains = {
'EUR' => 'api',
'NA' => 'api-na',
'OC' => 'api-oc',
'AUS' => 'api-oc'
+ }
+
+ # Subdomains to use for On-Site Messaging
+ config.klarna_on_site_messaging_subdomains = {
+ 'EUR' => 'eu-library',
+ 'NA' => 'na-library',
+ 'OC' => 'oc-library',
+ 'AUS' => 'oc-library'
}
end