README.markdown in datatrans-2.3.1 vs README.markdown in datatrans-2.4.0
- old
+ new
@@ -10,9 +10,15 @@
Datatrans.configure do |config|
config.merchant_id = '1234567'
config.sign_key = 'ab739fd5b7c2a1...'
config.environment = :production
+ config.proxy = {
+ :host => "proxy.com",
+ :port => 80,
+ :user => "hans",
+ :password => "xxx",
+ }
end
If you don't want to use signed requests (disabled in datatrans web console), you must set `config.sign_key` to `false`.
Possible values for the environment: `:production`, `:development`