activemerchant 1.79.0 → 1.79.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +6 -0
- data/lib/active_merchant/billing/gateways/authorize_net.rb +2 -2
- data/lib/active_merchant/billing/gateways/conekta.rb +1 -0
- data/lib/active_merchant/billing/gateways/mundipagg.rb +1 -0
- data/lib/active_merchant/connection.rb +2 -0
- data/lib/active_merchant/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f427e481f9ffab05d2fe6dbc40799ab2917c291
|
4
|
+
data.tar.gz: aab73ff03f9f687a81c8a66d1d90cadedd48b812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e57733e7d23c8a23c09f12ec1b131a510264dde7059794b7ab62000b3df25e1c4549835db9671b789e641fe18faf8de181043327b8f01df0b003632eca555bf
|
7
|
+
data.tar.gz: d846382b3e9bb6b2de08f28bb6d8b11e75ed05e74187f78a3447b1dbd232a9017cbe7cc2a32b347d686f4475615568e1bbeaf0b6106dc0764f955d0ef6fe9369
|
data/CHANGELOG
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
== HEAD
|
4
4
|
|
5
|
+
== Version 1.79.1 (May 31, 2018)
|
6
|
+
* Fix Net::HTTP connections defaulting to connection: keep-alive instead of close since #2862 [bpollack] #2868
|
7
|
+
* Mundipagg: allow passing holder_document for credit card purchases [bpollack] #2864
|
8
|
+
* Conekta: support monthly_installments [bpollack] #2866
|
9
|
+
* Authorize.net: allow sending email_customer set to false [bpollack] #2867
|
10
|
+
|
5
11
|
== Version 1.79.0 (May 30, 2018)
|
6
12
|
* Allow setting min/max SSL version for a connection on Ruby 2.5 [bdewater] #2775
|
7
13
|
* Add `gateways:ssl:min_version` rake task to test upcoming TLS 1.0 deprecation deadline [bdewater] #2775
|
@@ -412,10 +412,10 @@ module ActiveMerchant
|
|
412
412
|
ActiveMerchant.deprecated "Using the duplicate_window class_attribute is deprecated. Use the transaction options hash instead."
|
413
413
|
set_duplicate_window(xml, self.class.duplicate_window)
|
414
414
|
end
|
415
|
-
if options
|
415
|
+
if options.key?(:email_customer)
|
416
416
|
xml.setting do
|
417
417
|
xml.settingName("emailCustomer")
|
418
|
-
xml.settingValue("true")
|
418
|
+
xml.settingValue(options[:email_customer] ? "true" : "false")
|
419
419
|
end
|
420
420
|
end
|
421
421
|
if options[:header_email_receipt]
|
@@ -77,6 +77,7 @@ module ActiveMerchant #:nodoc:
|
|
77
77
|
post[:description] = options[:description] || "Active Merchant Purchase"
|
78
78
|
post[:reference_id] = options[:order_id] if options[:order_id]
|
79
79
|
post[:currency] = (options[:currency] || currency(money)).downcase
|
80
|
+
post[:monthly_installments] = options[:monthly_installments] if options[:monthly_installments]
|
80
81
|
post[:amount] = amount(money)
|
81
82
|
end
|
82
83
|
|
@@ -176,6 +176,7 @@ module ActiveMerchant #:nodoc:
|
|
176
176
|
post[:payment][:credit_card][:card][:exp_month] = payment.month
|
177
177
|
post[:payment][:credit_card][:card][:exp_year] = payment.year
|
178
178
|
post[:payment][:credit_card][:card][:cvv] = payment.verification_value
|
179
|
+
post[:payment][:credit_card][:card][:holder_document] = options[:holder_document] if options[:holder_document]
|
179
180
|
add_billing_address(post,'credit_card', options)
|
180
181
|
end
|
181
182
|
end
|
@@ -65,6 +65,8 @@ module ActiveMerchant
|
|
65
65
|
end
|
66
66
|
|
67
67
|
def request(method, body, headers = {})
|
68
|
+
headers['connection'] ||= 'close'
|
69
|
+
|
68
70
|
request_start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
69
71
|
|
70
72
|
retry_exceptions(:max_retries => max_retries, :logger => logger, :tag => tag) do
|