Skip to content

Commit

Permalink
Updated release version
Browse files Browse the repository at this point in the history
  • Loading branch information
swapnilhande committed Apr 24, 2018
1 parent b31445a commit 374326c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
= LitleOnline CHANGELOG

==Version 8.31.1 (April 24, 2018)
* BugFix: Set content-type to text/xml; charset=UTF-8

== version 8.31.0(March 29, 2018)
* Feature : Processingtype elements added to sale, authorization, and forcecapture

Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec = Gem::Specification.new do |s|
s.description = File.read(File.join(File.dirname(__FILE__), 'DESCRIPTION'))
s.requirements =
['Contact sdksupport@vantiv.com for more information']
s.version = '8.31.0'
s.version = '8.31.1'
s.author = 'Vantiv eCommerce'
s.email = 'sdksupport@vantiv.com'
s.homepage = 'http://www.vantiv.com/developers'
Expand Down
16 changes: 8 additions & 8 deletions lib/Communications.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
=begin
Copyright (c) 2011 Litle & Co.
Copyright (c) 2017 Vantiv eCommerce
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -49,7 +49,7 @@ def Communications.http_post(post_data,config_hash)
https.ca_file = File.join(File.dirname(__FILE__), "cacert.pem")
end
https.start { |http|
response = http.request_post(url.path, post_data.to_s, {'Content-Type'=>'text/xml','Connection'=>'close'})
response = http.request_post(url.path, post_data.to_s, {'Content-Type'=>'text/xml; charset=UTF-8','Connection'=>'close'})
response_xml = response
}

Expand All @@ -67,17 +67,17 @@ def Communications.http_post(post_data,config_hash)
=begin
NOTES ON HTTP TIMEOUT
Litle & Co. optimizes our systems to ensure the return of responses as quickly as possible, some portions of the process are beyond our control.
Vantiv eCommerce optimizes our systems to ensure the return of responses as quickly as possible, some portions of the process are beyond our control.
The round-trip time of an Authorization can be broken down into three parts, as follows:
1. Transmission time (across the internet) to Litle & Co. and back to the merchant
1. Transmission time (across the internet) to Vantiv eCommerce and back to the merchant
2. Processing time by the authorization provider
3. Processing time by Litle
Under normal operating circumstances, the transmission time to and from Litle does not exceed 0.6 seconds
and processing overhead by Litle occurs in 0.1 seconds.
3. Processing time by Vantiv eCommerce
Under normal operating circumstances, the transmission time to and from Vantiv eCommerce does not exceed 0.6 seconds
and processing overhead by Vantiv eCommerce occurs in 0.1 seconds.
Typically, the processing time by the card association or authorization provider can take between 0.5 and 3 seconds,
but some percentage of transactions may take significantly longer.
Because the total processing time can vary due to a number of factors, Litle & Co. recommends using a minimum timeout setting of
Because the total processing time can vary due to a number of factors, Vantiv eCommerce recommends using a minimum timeout setting of
60 seconds to accomodate Sale transactions and 30 seconds if you are not utilizing Sale tranactions.
These settings should ensure that you do not frequently disconnect prior to receiving a valid authorization causing dropped orders
Expand Down

0 comments on commit 374326c

Please sign in to comment.