humanzz-activemerchant 1.7.1 → 1.7.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -55,7 +55,7 @@ module ActiveMerchant #:nodoc:
|
|
55
55
|
:auth_capture => 'profileTransAuthCapture',
|
56
56
|
:auth_only => 'profileTransAuthOnly',
|
57
57
|
:capture_only => 'profileTransCaptureOnly',
|
58
|
-
|
58
|
+
:prior_auth_capture => 'profileTransPriorAuthCapture',
|
59
59
|
:refund => 'profileTransRefund',
|
60
60
|
:void => 'profileTransVoid'
|
61
61
|
}
|
@@ -352,8 +352,8 @@ module ActiveMerchant #:nodoc:
|
|
352
352
|
options[:transaction][:credit_card_number_masked] ||
|
353
353
|
(options[:transaction][:bank_routing_number_masked] && options[:transaction][:bank_account_number_masked])
|
354
354
|
)
|
355
|
-
|
356
|
-
|
355
|
+
when :prior_auth_capture
|
356
|
+
requires!(options[:transaction], :amount, :trans_id)
|
357
357
|
else
|
358
358
|
requires!(options[:transaction], :amount, :customer_profile_id, :customer_payment_profile_id)
|
359
359
|
end
|
@@ -612,9 +612,9 @@ module ActiveMerchant #:nodoc:
|
|
612
612
|
tag_unless_blank(xml, 'bankRoutingNumberMasked', transaction[:bank_routing_number_masked])
|
613
613
|
tag_unless_blank(xml, 'bankAccountNumberMasked', transaction[:bank_account_number_masked])
|
614
614
|
xml.tag!('transId', transaction[:trans_id])
|
615
|
-
|
616
|
-
|
617
|
-
|
615
|
+
when :prior_auth_capture
|
616
|
+
xml.tag!('amount', transaction[:amount])
|
617
|
+
xml.tag!('transId', transaction[:trans_id])
|
618
618
|
else
|
619
619
|
xml.tag!('amount', transaction[:amount])
|
620
620
|
xml.tag!('customerProfileId', transaction[:customer_profile_id])
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: humanzz-activemerchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 97
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 7
|
9
9
|
- 1
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 1.7.1.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Tobias Luetke
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain:
|
17
18
|
- gem-public_cert.pem
|
18
|
-
date: 2010-08-
|
19
|
+
date: 2010-08-08 00:00:00 +03:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|