CnpOnline 9.14.0 → 11.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +7 -7
  2. data/CHANGELOG +23 -17
  3. data/CONTRIBUTORS +0 -0
  4. data/DESCRIPTION +1 -1
  5. data/LICENSE +1 -1
  6. data/README.md +5 -3
  7. data/Rakefile +5 -5
  8. data/Rakefile~ +5 -5
  9. data/SETUP.md +3 -3
  10. data/bin/Setup.rb +59 -41
  11. data/lib/Communications.rb +3 -3
  12. data/lib/Configuration.rb +52 -45
  13. data/lib/EnvironmentVariables.rb +5 -1
  14. data/lib/LitleBatchRequest.rb +72 -7
  15. data/lib/LitleListeners.rb +17 -1
  16. data/lib/LitleOnline.rb +3 -4
  17. data/lib/LitleOnlineRequest.rb +37 -7
  18. data/lib/LitleRequest.rb +315 -186
  19. data/lib/LitleTransaction.rb +212 -85
  20. data/lib/LitleXmlMapper.rb +4 -2
  21. data/lib/XMLFields.rb +384 -171
  22. data/lib/cacert.pem +0 -0
  23. data/samples/Auth/LitleAuthReversalTransaction.rb +2 -2
  24. data/samples/Auth/LitleAuthorizationTransaction.rb +1 -0
  25. data/samples/Auth/LitlePaymentFullLifeCycle.rb +12 -6
  26. data/samples/Batch/AccountUpdate.rb +1 -0
  27. data/samples/Batch/SampleBatchDriver.rb +2 -1
  28. data/samples/Capture/LitleCaptureGivenAuthTransaction.rb +2 -1
  29. data/samples/Capture/LitleCaptureTransaction.rb +2 -2
  30. data/samples/Capture/LitleForceCaptureTransaction.rb +2 -1
  31. data/samples/Capture/LitlePartialCapture.rb +3 -3
  32. data/samples/Credit/LitleCreditTransaction.rb +2 -2
  33. data/samples/Credit/LitleRefundTransaction.rb +2 -1
  34. data/samples/Other/LitleAvsTransaction.rb +2 -1
  35. data/samples/Other/LitleVoidTransaction.rb +2 -1
  36. data/samples/Paypage/FullPaypageLifeCycle.rb +7 -2
  37. data/samples/Run_all.rb +0 -0
  38. data/samples/Sale/LitleSaleTransaction.rb +2 -1
  39. data/samples/Sale/SampleSaleTransaction.rb +2 -1
  40. data/test/certification/certTest1_base.rb +52 -53
  41. data/test/certification/certTest2_authenhanced.rb +24 -25
  42. data/test/certification/certTest3_authreversal.rb +23 -26
  43. data/test/certification/certTest4_echeck.rb +18 -32
  44. data/test/certification/certTest5_token.rb +105 -106
  45. data/test/certification/certTest_batchAll.rb +47 -15
  46. data/test/functional/test_activate.rb +32 -4
  47. data/test/functional/test_activateReversal.rb +18 -5
  48. data/test/functional/test_auth.rb +94 -48
  49. data/test/functional/test_authReversal.rb +4 -1
  50. data/test/functional/test_balanceInquiry.rb +28 -3
  51. data/test/functional/test_batchStream.rb +2 -4
  52. data/test/functional/test_cancelSubscription.rb +2 -2
  53. data/test/functional/test_capture.rb +21 -14
  54. data/test/functional/test_captureGivenAuth.rb +15 -6
  55. data/test/functional/test_createPlan.rb +1 -1
  56. data/test/functional/test_credit.rb +14 -5
  57. data/test/functional/test_deactivate.rb +26 -3
  58. data/test/functional/test_deactivateReversal.rb +18 -5
  59. data/test/functional/test_depositReversal.rb +31 -19
  60. data/test/functional/test_echeckCredit.rb +34 -6
  61. data/test/functional/test_echeckRedeposit.rb +29 -2
  62. data/test/functional/test_echeckSale.rb +68 -11
  63. data/test/functional/test_echeckVerification.rb +32 -7
  64. data/test/functional/test_echeckVoid.rb +2 -1
  65. data/test/functional/test_forceCapture.rb +20 -6
  66. data/test/functional/test_fraudCheck.rb +3 -5
  67. data/test/functional/test_giftCardAuthReversal.rb +72 -0
  68. data/test/functional/test_giftCardCapture.rb +72 -0
  69. data/test/functional/test_giftCardCredit.rb +69 -0
  70. data/test/functional/test_litle_requests.rb +3 -6
  71. data/test/functional/test_load.rb +27 -3
  72. data/test/functional/test_loadReversal.rb +18 -5
  73. data/test/functional/test_override.rb +7 -3
  74. data/test/functional/test_pgp_litle_requests.rb +294 -0
  75. data/test/functional/test_queryTransaction.rb +152 -0
  76. data/test/functional/test_refundReversal.rb +18 -5
  77. data/test/functional/test_sale.rb +122 -159
  78. data/test/functional/test_token.rb +17 -11
  79. data/test/functional/test_unload.rb +27 -3
  80. data/test/functional/test_unloadReversal.rb +18 -5
  81. data/test/functional/test_updateCardValidationNumOnToken.rb +1 -0
  82. data/test/functional/test_updatePlan.rb +2 -1
  83. data/test/functional/test_updateSubscription.rb +3 -1
  84. data/test/functional/test_wallet.rb +74 -0
  85. data/test/functional/test_xmlfields.rb +22 -3
  86. data/test/functional/ts_all.rb +2 -0
  87. data/test/unit/test_LitleBatchRequest.rb +53 -5
  88. data/test/unit/test_LitleOnlineRequest.rb +5 -30
  89. data/test/unit/test_LitleRequest.rb +7 -6
  90. data/test/unit/test_LitleTransaction.rb +34 -5
  91. data/test/unit/test_LitleXmlMapper.rb +3 -0
  92. data/test/unit/test_activate.rb +22 -2
  93. data/test/unit/test_activateReversal.rb +15 -3
  94. data/test/unit/test_auth.rb +11 -9
  95. data/test/unit/test_balanceInquiry.rb +2 -2
  96. data/test/unit/test_capture.rb +2 -2
  97. data/test/unit/test_captureGivenAuth.rb +21 -1
  98. data/test/unit/test_credit.rb +1 -1
  99. data/test/unit/test_deactivate.rb +19 -0
  100. data/test/unit/test_deactivateReversal.rb +15 -3
  101. data/test/unit/test_depositReversal.rb +17 -5
  102. data/test/unit/test_echeckCredit.rb +19 -0
  103. data/test/unit/test_echeckRedeposit.rb +15 -0
  104. data/test/unit/test_echeckSale.rb +20 -1
  105. data/test/unit/test_echeckVerification.rb +6 -3
  106. data/test/unit/test_forceCapture.rb +1 -1
  107. data/test/unit/test_giftCardAuthReversal.rb +58 -0
  108. data/test/{functional/test_utf8.rb → unit/test_giftCardCapture.rb} +25 -12
  109. data/test/unit/test_giftCardCredit.rb +57 -0
  110. data/test/unit/test_load.rb +2 -2
  111. data/test/unit/test_loadReversal.rb +15 -3
  112. data/test/unit/test_pgp_LitleRequest +139 -0
  113. data/test/unit/test_queryTransaction.rb +105 -0
  114. data/test/unit/test_refundReversal.rb +15 -3
  115. data/test/unit/test_sale.rb +23 -3
  116. data/test/unit/test_token.rb +24 -20
  117. data/test/unit/test_unload.rb +2 -2
  118. data/test/unit/test_unloadReversal.rb +15 -3
  119. data/test/unit/test_wallet.rb +262 -0
  120. data/test/unit/ts_unit.rb +2 -1
  121. metadata +81 -100
@@ -38,13 +38,13 @@ module LitleOnline
38
38
  'orderSource'=>'ecommerce',
39
39
  'card'=>
40
40
  {
41
- 'type'=>'VI',
41
+ 'type'=>'GC',
42
42
  'number' =>'4100000000000001',
43
43
  'expDate' =>'1210'
44
44
  }
45
45
  }
46
46
 
47
- LitleXmlMapper.expects(:request).with(regexp_matches(/.*<unload reportGroup="Planets"><orderId>11<\/orderId><amount>500<\/amount><orderSource>ecommerce<\/orderSource><card><type>VI<\/type><number>4100000000000001<\/number><expDate>1210<\/expDate><\/card><\/unload>.*/m), is_a(Hash))
47
+ LitleXmlMapper.expects(:request).with(regexp_matches(/.*<unload reportGroup="Planets"><orderId>11<\/orderId><amount>500<\/amount><orderSource>ecommerce<\/orderSource><card><type>GC<\/type><number>4100000000000001<\/number><expDate>1210<\/expDate><\/card><\/unload>.*/m), is_a(Hash))
48
48
  LitleOnlineRequest.new.unload_request(hash)
49
49
  end
50
50
 
@@ -33,11 +33,23 @@ module LitleOnline
33
33
  'merchantId' => '101',
34
34
  'version'=>'8.8',
35
35
  'reportGroup'=>'Planets',
36
- 'litleTxnId' => '5000'
36
+ 'litleTxnId' => '5000',
37
+ 'card'=>{
38
+ 'type'=>'GC',
39
+ 'number' =>'400000000000001',
40
+ 'expDate' =>'0150',
41
+ 'pin' => '1234',
42
+ 'cardValidationNum' => '411'
43
+ },
44
+ 'originalRefCode' => '101',
45
+ 'originalAmount' => '34561',
46
+ 'originalTxnTime' => '2017-01-24T09:00:00',
47
+ 'originalSystemTraceId' => '33',
48
+ 'originalSequenceNumber' => '111111',
37
49
  }
38
50
 
39
- LitleXmlMapper.expects(:request).with(regexp_matches(/.*<unloadReversal reportGroup="Planets"><litleTxnId>5000<\/litleTxnId><\/unloadReversal>.*/m), is_a(Hash))
40
- LitleOnlineRequest.new.unload_reversal(hash)
51
+ LitleXmlMapper.expects(:request).with(regexp_matches(/.*<litleTxnId>5000<\/litleTxnId><card><type>GC<\/type><number>400000000000001<\/number><expDate>0150<\/expDate><cardValidationNum>411<\/cardValidationNum><pin>1234<\/pin><\/card>.*/m), is_a(Hash))
52
+ LitleOnlineRequest.new.deposit_reversal(hash)
41
53
  end
42
54
  end
43
55
 
@@ -0,0 +1,262 @@
1
+ =begin
2
+ Copyright (c) 2017 Vantiv eCommerce
3
+
4
+ Permission is hereby granted, free of charge, to any person
5
+ obtaining a copy of this software and associated documentation
6
+ files (the "Software"), to deal in the Software without
7
+ restriction, including without limitation the rights to use,
8
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the
10
+ Software is furnished to do so, subject to the following
11
+ conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
18
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
20
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
21
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
23
+ OTHER DEALINGS IN THE SOFTWARE.
24
+ =end
25
+
26
+
27
+ require File.expand_path("../../../lib/LitleOnline",__FILE__)
28
+ require 'test/unit'
29
+ require 'mocha/setup'
30
+
31
+ # TESTING THE WALLET FEATURE FOR SALE TRANSACTION
32
+ # TYPE 1 - Success Scenarios
33
+ # TYPE 2 - Error Scenarios
34
+
35
+ module LitleOnline
36
+ =begin
37
+ Definition: Class Definition for the Testing Class TestWallet
38
+ Created on: 01-29-2016
39
+ Reason: To test the incorporation new features developed in Ruby SDK as per XML 10.1 schema.
40
+ =end
41
+
42
+ class TestWallet < Test::Unit::TestCase
43
+
44
+ =begin
45
+ Name - test_sale_wallet_no_sourcetype
46
+ Type - 2
47
+ Description - To validate request without providing a walletSourceType node
48
+ Expected Response - Error messgae -If wallet is specified, it must have a walletSourceType.
49
+ =end
50
+ def test_sale_wallet_no_sourcetype
51
+ hash =
52
+ {
53
+ 'merchantId' => '101',
54
+ 'id' => 'test',
55
+ 'version'=>'8.8',
56
+ 'reportGroup'=>'Planets',
57
+ 'litleTxnId'=>'123456',
58
+ 'orderId'=>'12344',
59
+ 'amount'=>'106',
60
+ 'orderSource'=>'ecommerce',
61
+ 'paypal'=>
62
+ {
63
+ 'payerId'=>'1234',
64
+ 'token'=>'1234',
65
+ 'transactionId'=>'123456'
66
+ },
67
+ 'wallet'=>
68
+ {
69
+ 'walletSourceTypeId' => '102'
70
+ }
71
+ }
72
+
73
+ exception = assert_raise(RuntimeError){LitleOnlineRequest.new.sale(hash)}
74
+ assert_match /If wallet is specified, it must have a walletSourceType/, exception.message
75
+
76
+ end
77
+
78
+ =begin
79
+ Name - test_sale_wallet_no_sourcetypeid
80
+ Type - 2
81
+ Description - To validate request without providing a walletSourceTypeId node
82
+ Expected Response - Error messgae -If wallet is specified, it must have a walletSourceTypeId.
83
+ =end
84
+ def test_sale_wallet_no_sourcetypeid
85
+ hash =
86
+ {
87
+ 'merchantId' => '101',
88
+ 'id' => 'test',
89
+ 'version'=>'8.8',
90
+ 'reportGroup'=>'Planets',
91
+ 'litleTxnId'=>'123456',
92
+ 'orderId'=>'12344',
93
+ 'amount'=>'106',
94
+ 'orderSource'=>'ecommerce',
95
+ 'paypal'=>
96
+ {
97
+ 'payerId'=>'1234',
98
+ 'token'=>'1234',
99
+ 'transactionId'=>'123456'
100
+ },
101
+
102
+ 'wallet'=>
103
+ {
104
+ 'walletSourceType' => 'MasterPass'
105
+ }
106
+ }
107
+
108
+ exception = assert_raise(RuntimeError){LitleOnlineRequest.new.sale(hash)}
109
+ assert_match /If wallet is specified, it must have a walletSourceTypeId/, exception.message
110
+
111
+ end
112
+
113
+
114
+ =begin
115
+ Name - test_success_sale_wallet
116
+ Type - 1
117
+ Description - To validate request by providing both walletSourceTypeId and walletSourceType nodes
118
+ Expected Response - Success Request.
119
+ =end
120
+ def test_success_sale_wallet
121
+ hash =
122
+ {
123
+ 'merchantId' => '101',
124
+ 'id' => 'test',
125
+ 'version'=>'8.8',
126
+ 'reportGroup'=>'Planets',
127
+ 'litleTxnId'=>'123456',
128
+ 'orderId'=>'12344',
129
+ 'amount'=>'106',
130
+ 'orderSource'=>'ecommerce',
131
+ 'paypal'=>
132
+ {
133
+ 'payerId'=>'1234',
134
+ 'token'=>'1234',
135
+ 'transactionId'=>'123456'
136
+ },
137
+
138
+ 'wallet'=>
139
+ {
140
+ 'walletSourceType' => 'MasterPass',
141
+ 'walletSourceTypeId' => '102'
142
+ }
143
+ }
144
+
145
+ LitleXmlMapper.expects(:request).with(regexp_matches(/.*?<litleOnlineRequest.*?<sale.*?<wallet>.*?<walletSourceType>MasterPass<\/walletSourceType>.*?<\/wallet>.*?<\/sale>.*?/m), is_a(Hash))
146
+ LitleOnlineRequest.new.sale(hash)
147
+ end
148
+
149
+
150
+ # TESTING THE WALLET FEATURE FOR AUTHORIZATION TRANSACTION
151
+ # TYPE 1 - Success Scenarios
152
+ # TYPE 2 - Error Scenarios
153
+
154
+ =begin
155
+ Name - test_success_auth_wallet
156
+ Type - 1
157
+ Description - To validate request by providing both walletSourceTypeId and walletSourceType nodes
158
+ Expected Response - Success Request.
159
+ =end
160
+ def test_success_auth_wallet
161
+ hash =
162
+ {
163
+ 'merchantId' => '101',
164
+ 'version'=>'8.8',
165
+ 'reportGroup'=>'Planets',
166
+ 'orderId'=>'12344',
167
+ 'amount'=>'106',
168
+ 'orderSource'=>'ecommerce',
169
+ 'applepay'=>
170
+ {
171
+ 'data'=>'user',
172
+ 'header'=>
173
+ {
174
+ 'applicationData'=>'454657413164',
175
+ 'ephemeralPublicKey'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
176
+ 'publicKeyHash'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
177
+ 'transactionId'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
178
+ },
179
+
180
+ 'signature' =>'sign',
181
+ 'version' =>'10000'
182
+ },
183
+ 'wallet'=>
184
+ {
185
+ 'walletSourceType' => 'MasterPass',
186
+ 'walletSourceTypeId' => '102'
187
+ }
188
+ }
189
+
190
+ LitleXmlMapper.expects(:request).with(regexp_matches(/.*?<litleOnlineRequest.*?<authorization.*?<wallet>.*?<walletSourceType>MasterPass<\/walletSourceType><walletSourceTypeId>102<\/walletSourceTypeId>.*?<\/wallet>.*?<\/authorization>.*?/m), is_a(Hash))
191
+ LitleOnlineRequest.new.authorization(hash)
192
+ end
193
+
194
+ =begin
195
+ Name - test_auth_wallet_no_sourcetype
196
+ Type - 2
197
+ Description - To validate request without providing a walletSourceType node
198
+ Expected Response - Error messgae -If wallet is specified, it must have a walletSourceType.
199
+ =end
200
+ def test_auth_wallet_no_sourcetype
201
+ hash = {
202
+ 'merchantId' => '101',
203
+ 'version'=>'8.8',
204
+ 'reportGroup'=>'Planets',
205
+ 'orderId'=>'12344',
206
+ 'amount'=>'106',
207
+ 'orderSource'=>'ecommerce',
208
+ 'applepay'=>{
209
+ 'data'=>'user',
210
+ 'header'=>{
211
+ 'applicationData'=>'454657413164',
212
+ 'ephemeralPublicKey'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
213
+ 'publicKeyHash'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
214
+ 'transactionId'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
215
+ },
216
+ 'signature' =>'sign',
217
+ 'version' =>'10000'
218
+ },
219
+ 'wallet'=> {
220
+ 'walletSourceTypeId' => '102'
221
+ }
222
+ }
223
+
224
+ exception = assert_raise(RuntimeError){LitleOnlineRequest.new.sale(hash)}
225
+ assert_match /If wallet is specified, it must have a walletSourceType/, exception.message
226
+ end
227
+
228
+ =begin
229
+ Name - test_auth_wallet_no_sourcetypeid
230
+ Type - 2
231
+ Description - To validate request without providing a walletSourceTypeId node
232
+ Expected Response - Error messgae -If wallet is specified, it must have a walletSourceTypeId.
233
+ =end
234
+ def test_auth_wallet_no_sourcetypeid
235
+ hash = {
236
+ 'merchantId' => '101',
237
+ 'version'=>'8.8',
238
+ 'reportGroup'=>'Planets',
239
+ 'orderId'=>'12344',
240
+ 'amount'=>'106',
241
+ 'orderSource'=>'ecommerce',
242
+ 'applepay'=>{
243
+ 'data'=>'user',
244
+ 'header'=>{
245
+ 'applicationData'=>'454657413164',
246
+ 'ephemeralPublicKey'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
247
+ 'publicKeyHash'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855',
248
+ 'transactionId'=>'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
249
+ },
250
+ 'signature' =>'sign',
251
+ 'version' =>'10000'
252
+ },
253
+ 'wallet'=> {
254
+ 'walletSourceType' => 'MasterPass',
255
+ }
256
+ }
257
+
258
+ exception = assert_raise(RuntimeError){LitleOnlineRequest.new.sale(hash)}
259
+ assert_match /If wallet is specified, it must have a walletSourceTypeId/, exception.message
260
+ end
261
+ end
262
+ end
@@ -25,7 +25,6 @@ OTHER DEALINGS IN THE SOFTWARE.
25
25
  require 'test/unit'
26
26
  require File.expand_path("../../../lib/LitleOnline",__FILE__)
27
27
 
28
-
29
28
  require_relative 'test_xmlfields'
30
29
  require_relative 'test_captureGivenAuth'
31
30
  require_relative 'test_sale'
@@ -62,5 +61,7 @@ require_relative 'test_refundReversal'
62
61
  require_relative 'test_loadReversal'
63
62
  require_relative 'test_unloadReversal'
64
63
  require_relative 'test_deactivateReversal'
64
+ require_relative 'test_wallet'
65
+ require_relative 'test_queryTransaction'
65
66
  require_relative 'test_fraudCheck'
66
67
 
metadata CHANGED
@@ -1,112 +1,82 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: CnpOnline
3
- version: !ruby/object:Gem::Version
4
- version: 9.14.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 11.4.0
5
5
  platform: ruby
6
- authors:
7
- - Vantiv eCommerce
6
+ authors:
7
+ - Vantiv - eCommerce
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-06 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
11
+
12
+ date: 2018-04-02 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
14
15
  name: xml-object
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
16
  prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: xml-mapping
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
17
+ requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - &id002
20
+ - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: "0"
34
23
  type: :runtime
24
+ version_requirements: *id001
25
+ - !ruby/object:Gem::Dependency
26
+ name: xml-mapping
35
27
  prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: net-sftp
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
28
+ requirement: &id003 !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - *id002
48
31
  type: :runtime
32
+ version_requirements: *id003
33
+ - !ruby/object:Gem::Dependency
34
+ name: net-sftp
49
35
  prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: libxml-ruby
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
36
+ requirement: &id004 !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - *id002
62
39
  type: :runtime
40
+ version_requirements: *id004
41
+ - !ruby/object:Gem::Dependency
42
+ name: libxml-ruby
63
43
  prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: crack
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
44
+ requirement: &id005 !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - *id002
76
47
  type: :runtime
48
+ version_requirements: *id005
49
+ - !ruby/object:Gem::Dependency
50
+ name: crack
77
51
  prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
- - !ruby/object:Gem::Dependency
52
+ requirement: &id006 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - *id002
55
+ type: :runtime
56
+ version_requirements: *id006
57
+ - !ruby/object:Gem::Dependency
84
58
  name: mocha
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
59
  prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
60
+ requirement: &id007 !ruby/object:Gem::Requirement
61
+ requirements:
62
+ - *id002
63
+ type: :development
64
+ version_requirements: *id007
97
65
  description: |+
98
- Vantiv eCommerce Ruby SDK created for version 9.10 of Vantiv eCommerce XML format, see the XSD schema for specific fields that are supported by this format.
99
-
66
+ Vantiv eCommerce Online Ruby SDK created for version 11.0 of Vantiv eCommerce XML format, see the XSD schema for specific fields that are supported by this format.
67
+
100
68
  This gem contains an application interface in the Ruby programming language created by Vantiv eCommerce.
101
-
102
-
69
+
70
+
103
71
  email: sdksupport@vantiv.com
104
- executables:
72
+ executables:
105
73
  - sample_driver.rb
106
74
  - Setup.rb
107
75
  extensions: []
76
+
108
77
  extra_rdoc_files: []
109
- files:
78
+
79
+ files:
110
80
  - CHANGELOG
111
81
  - CONTRIBUTORS
112
82
  - DESCRIPTION
@@ -177,10 +147,15 @@ files:
177
147
  - test/functional/test_echeckVoid.rb
178
148
  - test/functional/test_forceCapture.rb
179
149
  - test/functional/test_fraudCheck.rb
150
+ - test/functional/test_giftCardAuthReversal.rb
151
+ - test/functional/test_giftCardCapture.rb
152
+ - test/functional/test_giftCardCredit.rb
180
153
  - test/functional/test_litle_requests.rb
181
154
  - test/functional/test_load.rb
182
155
  - test/functional/test_loadReversal.rb
183
156
  - test/functional/test_override.rb
157
+ - test/functional/test_pgp_litle_requests.rb
158
+ - test/functional/test_queryTransaction.rb
184
159
  - test/functional/test_refundReversal.rb
185
160
  - test/functional/test_sale.rb
186
161
  - test/functional/test_token.rb
@@ -189,7 +164,7 @@ files:
189
164
  - test/functional/test_updateCardValidationNumOnToken.rb
190
165
  - test/functional/test_updatePlan.rb
191
166
  - test/functional/test_updateSubscription.rb
192
- - test/functional/test_utf8.rb
167
+ - test/functional/test_wallet.rb
193
168
  - test/functional/test_xmlfields.rb
194
169
  - test/functional/ts_all.rb
195
170
  - test/unit/test_LitleAUBatch.rb
@@ -218,8 +193,13 @@ files:
218
193
  - test/unit/test_echeckVoid.rb
219
194
  - test/unit/test_forceCapture.rb
220
195
  - test/unit/test_fraudCheck.rb
196
+ - test/unit/test_giftCardAuthReversal.rb
197
+ - test/unit/test_giftCardCapture.rb
198
+ - test/unit/test_giftCardCredit.rb
221
199
  - test/unit/test_load.rb
222
200
  - test/unit/test_loadReversal.rb
201
+ - test/unit/test_pgp_LitleRequest
202
+ - test/unit/test_queryTransaction.rb
223
203
  - test/unit/test_refundReversal.rb
224
204
  - test/unit/test_sale.rb
225
205
  - test/unit/test_token.rb
@@ -228,32 +208,33 @@ files:
228
208
  - test/unit/test_updateCardValidationNumOnToken.rb
229
209
  - test/unit/test_updatePlan.rb
230
210
  - test/unit/test_updateSubscription.rb
211
+ - test/unit/test_wallet.rb
231
212
  - test/unit/test_xmlfields.rb
232
213
  - test/unit/ts_unit.rb
233
- homepage: http://www.vantiv.com/developers
214
+ homepage: https://developer.vantiv.com/community/ecommerce/pages/sdks#jive_content_id_Ruby_SDK
234
215
  licenses: []
216
+
235
217
  metadata: {}
218
+
236
219
  post_install_message:
237
220
  rdoc_options: []
238
- require_paths:
221
+
222
+ require_paths:
239
223
  - lib
240
- required_ruby_version: !ruby/object:Gem::Requirement
241
- requirements:
224
+ required_ruby_version: !ruby/object:Gem::Requirement
225
+ requirements:
242
226
  - - ">="
243
- - !ruby/object:Gem::Version
227
+ - !ruby/object:Gem::Version
244
228
  version: 2.2.0
245
- required_rubygems_version: !ruby/object:Gem::Requirement
246
- requirements:
247
- - - ">="
248
- - !ruby/object:Gem::Version
249
- version: '0'
250
- requirements:
229
+ required_rubygems_version: !ruby/object:Gem::Requirement
230
+ requirements:
231
+ - *id002
232
+ requirements:
251
233
  - Contact sdksupport@vantiv.com for more information
252
234
  rubyforge_project:
253
235
  rubygems_version: 2.7.6
254
236
  signing_key:
255
237
  specification_version: 4
256
- summary: Ruby SDK produced by Vantiv eCommerce for transaction processing using Vantiv
257
- eCommerce XML format v9.12
258
- test_files:
238
+ summary: Ruby SDK produced by Vantiv eCommerce for transaction processing using Vantiv eCommerce XML format v11.0
239
+ test_files:
259
240
  - test/unit/ts_unit.rb