LitleOnline 9.12.0 → 10.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +7 -16
  3. data/CONTRIBUTORS +0 -0
  4. data/DESCRIPTION +2 -2
  5. data/LICENSE +1 -1
  6. data/README.md +9 -9
  7. data/Rakefile +9 -8
  8. data/SETUP.md +3 -3
  9. data/bin/Setup.rb +4 -4
  10. data/bin/sample_batch_driver.rb +1 -1
  11. data/bin/sample_driver.rb +1 -1
  12. data/lib/Communications.rb +7 -7
  13. data/lib/Configuration.rb +1 -1
  14. data/lib/EnvironmentVariables.rb +0 -0
  15. data/lib/LitleBatchRequest.rb +22 -8
  16. data/lib/LitleListeners.rb +9 -9
  17. data/lib/LitleOnline.rb +2 -2
  18. data/lib/LitleOnlineRequest.rb +16 -10
  19. data/lib/LitleRequest.rb +10 -10
  20. data/lib/LitleTransaction.rb +66 -64
  21. data/lib/LitleXmlMapper.rb +4 -9
  22. data/lib/XMLFields.rb +129 -116
  23. data/lib/cacert.pem +0 -0
  24. data/samples/Auth/LitleAuthReversalTransaction.rb +2 -2
  25. data/samples/Auth/LitleAuthorizationTransaction.rb +1 -0
  26. data/samples/Auth/LitlePaymentFullLifeCycle.rb +12 -6
  27. data/samples/Batch/AccountUpdate.rb +1 -0
  28. data/samples/Batch/SampleBatchDriver.rb +2 -1
  29. data/samples/Capture/LitleCaptureGivenAuthTransaction.rb +2 -1
  30. data/samples/Capture/LitleCaptureTransaction.rb +2 -2
  31. data/samples/Capture/LitleForceCaptureTransaction.rb +2 -1
  32. data/samples/Capture/LitlePartialCapture.rb +3 -3
  33. data/samples/Credit/LitleCreditTransaction.rb +2 -2
  34. data/samples/Credit/LitleRefundTransaction.rb +2 -1
  35. data/samples/Other/LitleAvsTransaction.rb +2 -1
  36. data/samples/Other/LitleVoidTransaction.rb +2 -1
  37. data/samples/Paypage/FullPaypageLifeCycle.rb +7 -2
  38. data/samples/Run_all.rb +0 -0
  39. data/samples/Sale/LitleSaleTransaction.rb +2 -1
  40. data/samples/Sale/SampleSaleTransaction.rb +2 -1
  41. data/test/certification/certTest1_base.rb +53 -52
  42. data/test/certification/certTest2_authenhanced.rb +16 -15
  43. data/test/certification/certTest3_authreversal.rb +16 -15
  44. data/test/certification/certTest4_echeck.rb +11 -10
  45. data/test/certification/certTest5_token.rb +2 -1
  46. data/test/certification/certTest_batchAll.rb +40 -16
  47. data/test/certification/ts_all.rb +1 -1
  48. data/test/functional/test_activate.rb +8 -9
  49. data/test/functional/test_activateReversal.rb +4 -7
  50. data/test/functional/test_auth.rb +50 -113
  51. data/test/functional/test_authReversal.rb +6 -5
  52. data/test/functional/test_balanceInquiry.rb +5 -5
  53. data/test/functional/test_batch.rb +1 -1
  54. data/test/functional/test_batchStream.rb +3 -5
  55. data/test/functional/test_cancelSubscription.rb +3 -5
  56. data/test/functional/test_capture.rb +6 -34
  57. data/test/functional/test_captureGivenAuth.rb +13 -55
  58. data/test/functional/test_configuration.rb +1 -1
  59. data/test/functional/test_createPlan.rb +3 -5
  60. data/test/functional/test_credit.rb +10 -17
  61. data/test/functional/test_deactivate.rb +5 -5
  62. data/test/functional/test_deactivateReversal.rb +4 -5
  63. data/test/functional/test_depositReversal.rb +5 -5
  64. data/test/functional/test_echeckCredit.rb +17 -13
  65. data/test/functional/test_echeckRedeposit.rb +7 -5
  66. data/test/functional/test_echeckSale.rb +42 -21
  67. data/test/functional/test_echeckVerification.rb +19 -20
  68. data/test/functional/test_echeckVoid.rb +3 -2
  69. data/test/functional/test_forceCapture.rb +16 -30
  70. data/test/functional/test_litle_requests.rb +5 -9
  71. data/test/functional/test_load.rb +5 -5
  72. data/test/functional/test_loadReversal.rb +4 -5
  73. data/test/functional/test_override.rb +3 -0
  74. data/test/functional/test_queryTransaction.rb +146 -0
  75. data/test/functional/test_refundReversal.rb +4 -5
  76. data/test/functional/test_sale.rb +94 -170
  77. data/test/functional/test_token.rb +9 -18
  78. data/test/functional/test_unload.rb +5 -5
  79. data/test/functional/test_unloadReversal.rb +5 -6
  80. data/test/functional/test_updateCardValidationNumOnToken.rb +2 -1
  81. data/test/functional/test_updatePlan.rb +4 -5
  82. data/test/functional/test_updateSubscription.rb +5 -5
  83. data/test/functional/test_wallet.rb +74 -0
  84. data/test/functional/test_xmlfields.rb +25 -10
  85. data/test/functional/ts_all.rb +4 -2
  86. data/test/unit/test_LitleAUBatch.rb +1 -1
  87. data/test/unit/test_LitleBatchRequest.rb +4 -4
  88. data/test/unit/test_LitleOnlineRequest.rb +54 -37
  89. data/test/unit/test_LitleRequest.rb +3 -4
  90. data/test/unit/test_LitleTransaction.rb +35 -6
  91. data/test/unit/test_activate.rb +21 -1
  92. data/test/unit/test_activateReversal.rb +1 -1
  93. data/test/unit/test_auth.rb +16 -55
  94. data/test/unit/test_authReversal.rb +1 -1
  95. data/test/unit/test_balanceInquiry.rb +1 -1
  96. data/test/unit/test_cancelSubscription.rb +1 -1
  97. data/test/unit/test_capture.rb +1 -27
  98. data/test/unit/test_captureGivenAuth.rb +18 -44
  99. data/test/unit/test_createPlan.rb +1 -1
  100. data/test/unit/test_credit.rb +3 -16
  101. data/test/unit/test_deactivate.rb +1 -1
  102. data/test/unit/test_deactivateReversal.rb +1 -1
  103. data/test/unit/test_depositReversal.rb +1 -1
  104. data/test/unit/test_echeckCredit.rb +1 -1
  105. data/test/unit/test_echeckRedeposit.rb +1 -1
  106. data/test/unit/test_echeckSale.rb +2 -2
  107. data/test/unit/test_echeckVerification.rb +1 -1
  108. data/test/unit/test_echeckVoid.rb +1 -1
  109. data/test/unit/test_forceCapture.rb +2 -20
  110. data/test/unit/test_load.rb +1 -1
  111. data/test/unit/test_loadReversal.rb +1 -1
  112. data/test/unit/test_queryTransaction.rb +122 -0
  113. data/test/unit/test_refundReversal.rb +1 -1
  114. data/test/unit/test_sale.rb +8 -73
  115. data/test/unit/test_token.rb +8 -15
  116. data/test/unit/test_unload.rb +1 -1
  117. data/test/unit/test_unloadReversal.rb +1 -1
  118. data/test/unit/test_updateCardValidationNumOnToken.rb +1 -1
  119. data/test/unit/test_updatePlan.rb +1 -1
  120. data/test/unit/test_updateSubscription.rb +1 -1
  121. data/test/unit/test_wallet.rb +262 -0
  122. data/test/unit/test_xmlfields.rb +1 -1
  123. data/test/unit/ts_unit.rb +3 -3
  124. metadata +15 -16
  125. data/temp.xml +0 -21
  126. data/test/functional/test_fraudCheck.rb +0 -77
  127. data/test/functional/test_utf8.rb +0 -44
  128. data/test/unit/test_LitleXmlMapper.rb +0 -136
  129. data/test/unit/test_fraudCheck.rb +0 -45
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2012 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -33,6 +33,7 @@ def test_simple_happy
33
33
  hash = {
34
34
  'merchantId' => '101',
35
35
  'version'=>'8.8',
36
+ 'id'=>'test',
36
37
  'reportGroup'=>'Planets',
37
38
  'orderId' =>'1001',
38
39
  'amount' =>'500',
@@ -52,6 +53,7 @@ def test_simple_happy
52
53
  hash = {
53
54
  'merchantId' => '101',
54
55
  'version'=>'8.8',
56
+ 'id'=>'test',
55
57
  'reportGroup'=>'Planets',
56
58
  'amount' =>'500',
57
59
  'orderId' =>'1001',
@@ -75,10 +77,8 @@ def test_simple_happy
75
77
  'amount' =>'500',
76
78
  }
77
79
 
78
- #Get exceptions
79
- exception = assert_raise(RuntimeError){LitleOnlineRequest.new.unload_request(hash)}
80
- #Test
81
- assert(exception.message =~ /Error validating xml data against the schema/)
80
+ response= LitleOnlineRequest.new.unload_request(hash)
81
+ assert(response.message =~ /Error validating xml data against the schema/)
82
82
  end
83
83
  end
84
84
  end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2012 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -33,6 +33,7 @@ def test_simple
33
33
  hash = {
34
34
  'merchantId' => '101',
35
35
  'version'=>'8.8',
36
+ 'id'=>'test',
36
37
  'reportGroup'=>'Planets',
37
38
  'litleTxnId' =>'5000'
38
39
  }
@@ -48,11 +49,9 @@ def test_simple
48
49
  'version'=>'8.8',
49
50
  'reportGroup'=>'Planets',
50
51
  }
51
-
52
- #Get exceptions
53
- exception = assert_raise(RuntimeError){LitleOnlineRequest.new.unload_reversal(hash)}
54
- #Test
55
- assert(exception.message =~ /Error validating xml data against the schema/)
52
+
53
+ response= LitleOnlineRequest.new.unload_reversal(hash)
54
+ assert(response.message =~ /Error validating xml data against the schema/)
56
55
  end
57
56
  end
58
57
  end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2012 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -31,6 +31,7 @@ module LitleOnline
31
31
  hash = {
32
32
  'merchantId' => '101',
33
33
  'version'=>'8.8',
34
+ 'id'=>'test',
34
35
  'reportGroup'=>'Planets',
35
36
  'orderId'=>'12344',
36
37
  'litleToken'=>'1233456789103801',
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2012 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -33,6 +33,7 @@ def test_simple_happy
33
33
  hash ={
34
34
  'merchantId' => '101',
35
35
  'version'=>'8.8',
36
+ 'id'=>'test',
36
37
  'reportGroup'=>'Planets',
37
38
  'planCode'=>'planCodeString',
38
39
  'active'=>'true'
@@ -51,10 +52,8 @@ def test_simple_happy
51
52
  'planCode'=>'planCodeString',
52
53
  }
53
54
 
54
- #Get exceptions
55
- exception = assert_raise(RuntimeError){LitleOnlineRequest.new.update_plan(hash)}
56
- #Test
57
- assert(exception.message =~ /Error validating xml data against the schema/)
55
+ response= LitleOnlineRequest.new.update_plan(hash)
56
+ assert(response.message =~ /Error validating xml data against the schema/)
58
57
  end
59
58
  end
60
59
  end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2012 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -33,6 +33,7 @@ def test_simple_happy
33
33
  hash = {
34
34
  'merchantId' => '101',
35
35
  'version'=>'8.8',
36
+ 'id'=>'test',
36
37
  'reportGroup'=>'Planets',
37
38
  'subscriptionId' =>'1001'
38
39
  }
@@ -45,6 +46,7 @@ def test_simple_happy
45
46
  hash = {
46
47
  'merchantId' => '101',
47
48
  'version'=>'8.8',
49
+ 'id'=>'test',
48
50
  'reportGroup'=>'Planets',
49
51
  'subscriptionId' =>'1001',
50
52
  'billingDate'=>'2014-03-11',
@@ -69,10 +71,8 @@ def test_simple_happy
69
71
  'reportGroup'=>'Planets',
70
72
  }
71
73
 
72
- #Get exceptions
73
- exception = assert_raise(RuntimeError){LitleOnlineRequest.new.update_subscription(hash)}
74
- #Test
75
- assert(exception.message =~ /Error validating xml data against the schema/)
74
+ response= LitleOnlineRequest.new.update_subscription(hash)
75
+ assert(response.message =~ /Error validating xml data against the schema/)
76
76
  end
77
77
  end
78
78
  end
@@ -0,0 +1,74 @@
1
+ =begin
2
+ Copyright (c) 2012 Litle & Co.
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
+ require File.expand_path("../../../lib/LitleOnline",__FILE__)
26
+ require 'test/unit'
27
+
28
+ #test Authorization Transaction
29
+ module LitleOnline
30
+ class TestAuth < Test::Unit::TestCase
31
+ def test_simple_auth_with_wallet
32
+ hash = {
33
+ 'merchantId' => '101',
34
+ 'id' => 'test',
35
+ 'version'=>'8.8',
36
+ 'reportGroup'=>'Planets',
37
+ 'amount'=>'106',
38
+ 'orderId'=>'123456',
39
+ 'orderSource'=>'ecommerce',
40
+ 'paypal'=>{
41
+ 'payerId'=>'1234',
42
+ 'token'=>'1234',
43
+ 'transactionId'=>'123456'},
44
+ 'wallet'=> {
45
+ 'walletSourceType' => 'MasterPass',
46
+ 'walletSourceTypeId' => '102'
47
+ }}
48
+ response= LitleOnlineRequest.new.authorization(hash)
49
+ assert_equal 'Valid Format', response.message
50
+ end
51
+
52
+ def test_simple_sale_with_wallet
53
+ hash = {
54
+ 'merchantId' => '101',
55
+ 'id' => 'test',
56
+ 'version'=>'8.8',
57
+ 'reportGroup'=>'Planets',
58
+ 'litleTxnId'=>'123456',
59
+ 'orderId'=>'12344',
60
+ 'amount'=>'106',
61
+ 'orderSource'=>'ecommerce',
62
+ 'paypal'=>{
63
+ 'payerId'=>'1234',
64
+ 'token'=>'1234',
65
+ 'transactionId'=>'123456'},
66
+ 'wallet'=> {
67
+ 'walletSourceType' => 'MasterPass',
68
+ 'walletSourceTypeId' => '102'
69
+ }}
70
+ response= LitleOnlineRequest.new.sale(hash)
71
+ assert_equal 'Valid Format', response.message
72
+ end
73
+ end
74
+ end
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2012 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -30,6 +30,7 @@ module LitleOnline
30
30
  def test_card_no_required_type_or_track
31
31
  hash = {
32
32
  'merchantId' => '101',
33
+ 'id' => 'test',
33
34
  'version'=>'8.8',
34
35
  'reportGroup'=>'Planets',
35
36
  'litleTxnId'=>'123456',
@@ -41,15 +42,14 @@ module LitleOnline
41
42
  'expDate' =>'1210',
42
43
  'cardValidationNum'=> '123'
43
44
  }}
44
- #Get exceptions
45
- exception = assert_raise(RuntimeError){LitleOnlineRequest.new.sale(hash)}
46
- #Test
47
- assert(exception.message =~ /Error validating xml data against the schema/)
45
+ response= LitleOnlineRequest.new.sale(hash)
46
+ assert(response.message =~ /Error validating xml data against the schema/)
48
47
  end
49
48
 
50
49
  def test_simple_custom_billing
51
50
  hash = {
52
51
  'merchantId' => '101',
52
+ 'id' => 'test',
53
53
  'version'=>'8.8',
54
54
  'reportGroup'=>'Planets',
55
55
  'litleTxnId'=>'123456',
@@ -69,6 +69,7 @@ module LitleOnline
69
69
  def test_bill_me_later
70
70
  hash = {
71
71
  'merchantId' => '101',
72
+ 'id' => 'test',
72
73
  'version'=>'8.8',
73
74
  'reportGroup'=>'Planets',
74
75
  'litleTxnId'=>'123456',
@@ -89,6 +90,7 @@ module LitleOnline
89
90
  def test__customer_info
90
91
  hash = {
91
92
  'merchantId' => '101',
93
+ 'id' => 'test',
92
94
  'version'=>'8.8',
93
95
  'reportGroup'=>'Planets',
94
96
  'litleTxnId'=>'123456',
@@ -108,12 +110,13 @@ module LitleOnline
108
110
  def test_simple_bill_to_address
109
111
  hash = {
110
112
  'merchantId' => '101',
113
+ 'id' => 'test',
111
114
  'version'=>'8.8',
112
115
  'reportGroup'=>'Planets',
113
116
  'orderId'=>'12344',
114
117
  'amount'=>'106',
115
118
  'orderSource'=>'ecommerce',
116
- 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'vantiv.com'},
119
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'},
117
120
  'card'=>{
118
121
  'type'=>'VI',
119
122
  'number' =>'4100000000000000',
@@ -126,6 +129,7 @@ module LitleOnline
126
129
  def test_processing_instructions
127
130
  hash = {
128
131
  'merchantId' => '101',
132
+ 'id' => 'test',
129
133
  'version'=>'8.8',
130
134
  'reportGroup'=>'Planets',
131
135
  'orderId'=>'12344',
@@ -144,6 +148,7 @@ module LitleOnline
144
148
  def test_pos
145
149
  hash = {
146
150
  'merchantId' => '101',
151
+ 'id' => 'test',
147
152
  'version'=>'8.8',
148
153
  'reportGroup'=>'Planets',
149
154
  'orderId'=>'12344',
@@ -162,6 +167,7 @@ module LitleOnline
162
167
  def test_amex_data
163
168
  hash = {
164
169
  'merchantId' => '101',
170
+ 'id' => 'test',
165
171
  'version'=>'8.8',
166
172
  'reportGroup'=>'Planets',
167
173
  'orderId'=>'12344',
@@ -180,6 +186,7 @@ module LitleOnline
180
186
  def test_amex_data_missing_seller_id
181
187
  hash = {
182
188
  'merchantId' => '101',
189
+ 'id' => 'test',
183
190
  'version'=>'8.8',
184
191
  'reportGroup'=>'Planets',
185
192
  'orderId'=>'12344',
@@ -191,15 +198,14 @@ module LitleOnline
191
198
  'expDate' =>'1210'},
192
199
  'amexAggregatorData'=>{'sellerMerchantCategoryCode'=>'1234'}
193
200
  }
194
- #Get exceptions
195
- exception = assert_raise(RuntimeError){LitleOnlineRequest.new.credit(hash)}
196
- #Test
197
- assert(exception.message =~ /Error validating xml data against the schema/)
201
+ response= LitleOnlineRequest.new.credit(hash)
202
+ assert(response.message =~ /Error validating xml data against the schema/)
198
203
  end
199
204
 
200
205
  def test_simple_enhanced_data
201
206
  hash = {
202
207
  'merchantId' => '101',
208
+ 'id' => 'test',
203
209
  'version'=>'8.8',
204
210
  'reportGroup'=>'Planets',
205
211
  'orderId'=>'12344',
@@ -224,6 +230,7 @@ module LitleOnline
224
230
  def test_enhanced_data_with_detail_tax
225
231
  hash = {
226
232
  'merchantId' => '101',
233
+ 'id' => 'test',
227
234
  'version'=>'8.8',
228
235
  'reportGroup'=>'Planets',
229
236
  'orderId'=>'12344',
@@ -249,6 +256,7 @@ module LitleOnline
249
256
  def test_enhanced_data_with_line_item
250
257
  hash = {
251
258
  'merchantId' => '101',
259
+ 'id' => 'test',
252
260
  'version'=>'8.8',
253
261
  'reportGroup'=>'Planets',
254
262
  'orderId'=>'12344',
@@ -280,6 +288,7 @@ module LitleOnline
280
288
  def test_simple_token
281
289
  hash = {
282
290
  'merchantId' => '101',
291
+ 'id' => 'test',
283
292
  'version'=>'8.8',
284
293
  'reportGroup'=>'Planets',
285
294
  'orderId'=>'12344',
@@ -298,6 +307,7 @@ module LitleOnline
298
307
  def test_token_missing_exp_dat_and_valid_num
299
308
  hash = {
300
309
  'merchantId' => '101',
310
+ 'id' => 'test',
301
311
  'version'=>'8.8',
302
312
  'reportGroup'=>'Planets',
303
313
  'orderId'=>'12344',
@@ -314,6 +324,7 @@ module LitleOnline
314
324
  def test_simple_paypage
315
325
  hash = {
316
326
  'merchantId' => '101',
327
+ 'id' => 'test',
317
328
  'version'=>'8.8',
318
329
  'reportGroup'=>'Planets',
319
330
  'orderId'=>'12344',
@@ -332,6 +343,7 @@ module LitleOnline
332
343
  def test_paypage_missing_exp_dat_and_valid_num
333
344
  hash = {
334
345
  'merchantId' => '101',
346
+ 'id' => 'test',
335
347
  'version'=>'8.8',
336
348
  'reportGroup'=>'Planets',
337
349
  'orderId'=>'12344',
@@ -348,6 +360,7 @@ module LitleOnline
348
360
  def test_line_item_data
349
361
  hash = {
350
362
  'merchantId' => '101',
363
+ 'id' => 'test',
351
364
  'version'=>'8.8',
352
365
  'reportGroup'=>'Planets',
353
366
  'orderId'=>'1',
@@ -373,6 +386,7 @@ module LitleOnline
373
386
  def test_detail_tax
374
387
  hash = {
375
388
  'merchantId' => '101',
389
+ 'id' => 'test',
376
390
  'version'=>'8.8',
377
391
  'reportGroup'=>'Planets',
378
392
  'orderId'=>'1',
@@ -398,6 +412,7 @@ module LitleOnline
398
412
  def test_detail_tax_in_lineItem
399
413
  hash = {
400
414
  'merchantId' => '101',
415
+ 'id' => 'test',
401
416
  'version'=>'8.8',
402
417
  'reportGroup'=>'Planets',
403
418
  'orderId'=>'1',
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2012 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -44,6 +44,8 @@ require_relative 'test_echeckCredit'
44
44
  require_relative 'test_echeckVerification'
45
45
  require_relative 'test_echeckVoid'
46
46
  require_relative 'test_updateCardValidationNumOnToken'
47
+ require_relative 'test_wallet'
48
+ require_relative 'test_queryTransaction'
47
49
  require_relative 'test_litle_requests'
48
50
  require_relative 'test_batch'
49
51
  require_relative 'test_cancelSubscription'
@@ -64,4 +66,4 @@ require_relative 'test_unloadReversal'
64
66
  require_relative 'test_deactivateReversal'
65
67
  require_relative 'test_override'
66
68
  require_relative 'test_configuration'
67
- require_relative 'test_fraudCheck'
69
+
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2011 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -1,5 +1,5 @@
1
1
  =begin
2
- Copyright (c) 2017 Vantiv eCommerce
2
+ Copyright (c) 2011 Litle & Co.
3
3
 
4
4
  Permission is hereby granted, free of charge, to any person
5
5
  obtaining a copy of this software and associated documentation
@@ -206,7 +206,7 @@ module LitleOnline
206
206
  'reportGroup'=>'Planets',
207
207
  'subscriptionId'=>'100',
208
208
  'planCode'=>'planCodeString',
209
- 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'vantiv.com'}
209
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'}
210
210
  }
211
211
 
212
212
  batch = LitleBatchRequest.new
@@ -343,7 +343,7 @@ module LitleOnline
343
343
  'orderId'=>'12345',
344
344
  'orderSource'=>'ecommerce',
345
345
  'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455'},
346
- 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'vantiv.com'}
346
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'}
347
347
  }
348
348
 
349
349
  batch = LitleBatchRequest.new
@@ -417,7 +417,7 @@ module LitleOnline
417
417
  'orderId'=>'12345',
418
418
  'orderSource'=>'ecommerce',
419
419
  'echeck' => {'accType'=>'Checking','accNum'=>'12345657890','routingNum'=>'123456789','checkNum'=>'123455'},
420
- 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'vantiv.com'}
420
+ 'billToAddress'=>{'name'=>'Bob','city'=>'lowell','state'=>'MA','email'=>'litle.com'}
421
421
  }
422
422
 
423
423
  batch = LitleBatchRequest.new