killbill-cybersource 5.2.3 → 5.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a0f66b1be2e4f95e93428e32d1a61b6ca8207f0
4
- data.tar.gz: 888dcf081e39d5e6d13e0044b78ea9afc0f870a0
3
+ metadata.gz: df044ef246377530e4ec272f5f78785678bbb7b2
4
+ data.tar.gz: 9a352c73fb090dbd3a97ff8323b3f5ea2670958f
5
5
  SHA512:
6
- metadata.gz: 372d6cc47136c1a1247b4d39d9beef29a6890d8d8e6c44f5cd4bf46f406bee3b9a6122790908bd9fb7eec0fa7253c35d36aff24a199564a4833c545ea36f762b
7
- data.tar.gz: 1dd86f782606fa561fb0f0a9eca82ae34d31507aefd1d8b5002b5502c71c1145975c7d2a69185b3bd1ca55377fcf841a6df0b1bc5f660dd97ec29cad60cc11e4
6
+ metadata.gz: 7cd6e486de4ec3fa7d93f38d1e39e1b29c26858b1d83b594bc0ce120e5a512548e81d06bb3641d204b760a1601709f48cc6ad85a544dbbacc8fd1e78b5d7111d
7
+ data.tar.gz: 0d769ab36d527b0eaafd8b8b8968bebfa7e5ce4c713e32a530dea4d9a6ba351ba5639796b1def41d59f753475cf784b1d6a317a06370b6408d0546ea2c818aba
@@ -78,6 +78,12 @@ module ActiveMerchant
78
78
  end
79
79
  add_reconciliation_id(xml, options)
80
80
  end
81
+ when :discover
82
+ xml.tag! 'ccAuthService', {'run' => 'true'} do
83
+ xml.tag!("cavv", payment_method.payment_cryptogram)
84
+ xml.tag!("commerceIndicator", options[:commerce_indicator] || "dipb")
85
+ add_reconciliation_id(xml, options)
86
+ end
81
87
  end
82
88
  end
83
89
 
@@ -125,6 +131,8 @@ module ActiveMerchant
125
131
  def add_payment_solution(xml, payment_method, options)
126
132
  if is_android_pay(payment_method, options)
127
133
  xml.tag!('paymentSolution', '006')
134
+ else
135
+ xml.tag!('paymentSolution', '001')
128
136
  end
129
137
  end
130
138
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: killbill-cybersource
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.3
4
+ version: 5.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kill Bill core team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-28 00:00:00.000000000 Z
11
+ date: 2017-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement