tomriley-active_merchant 1.4.2.8 → 1.4.2.10
Sign up to get free protection for your applications and to get access to all the features.
data/active_merchant.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
|
-
s.name = "active_merchant"
|
3
|
-
s.version = "1.4.2.
|
2
|
+
s.name = "tomriley-active_merchant"
|
3
|
+
s.version = "1.4.2.10"
|
4
4
|
s.date = "2009-01-12"
|
5
5
|
s.summary = "Active Merchant is a simple payment abstraction library used in and sponsored by Shopify."
|
6
6
|
s.homepage = "http://www.activemerchant.org/"
|
@@ -10,6 +10,7 @@ module ActiveMerchant #:nodoc:
|
|
10
10
|
|
11
11
|
APPROVED = 'OK'
|
12
12
|
REGISTERED = 'REGISTERED'
|
13
|
+
AUTENTICATED = 'AUTENTICATED'
|
13
14
|
|
14
15
|
TRANSACTIONS = {
|
15
16
|
:purchase => 'PAYMENT',
|
@@ -289,7 +290,7 @@ module ActiveMerchant #:nodoc:
|
|
289
290
|
def commit(action, parameters)
|
290
291
|
response = parse( ssl_post(url_for(action), post_data(action, parameters)) )
|
291
292
|
|
292
|
-
Response.new([APPROVED, REGISTERED].include?(response['Status']), message_from(response), response,
|
293
|
+
Response.new([APPROVED, REGISTERED, AUTENTICATED].include?(response['Status']), message_from(response), response,
|
293
294
|
:test => test?,
|
294
295
|
:authorization => authorization_from(response, parameters, action),
|
295
296
|
:avs_result => {
|
@@ -348,7 +349,7 @@ module ActiveMerchant #:nodoc:
|
|
348
349
|
end
|
349
350
|
|
350
351
|
def message_from(response)
|
351
|
-
[APPROVED, REGISTERED].include?(response['Status']) ? 'Success' : (response['StatusDetail'] || 'Unspecified error') # simonr 20080207 can't actually get non-nil blanks, so this is shorter
|
352
|
+
[APPROVED, REGISTERED, AUTENTICATED].include?(response['Status']) ? 'Success' : (response['StatusDetail'] || 'Unspecified error') # simonr 20080207 can't actually get non-nil blanks, so this is shorter
|
352
353
|
end
|
353
354
|
|
354
355
|
def post_data(action, parameters = {})
|
metadata
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomriley-active_merchant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 99
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 4
|
9
|
+
- 2
|
10
|
+
- 10
|
11
|
+
version: 1.4.2.10
|
5
12
|
platform: ruby
|
6
13
|
authors:
|
7
14
|
- Tobias Luetke
|
@@ -10,7 +17,7 @@ autorequire:
|
|
10
17
|
bindir: bin
|
11
18
|
cert_chain: []
|
12
19
|
|
13
|
-
date: 2009-01-12 00:00:00
|
20
|
+
date: 2009-01-12 00:00:00 +00:00
|
14
21
|
default_executable:
|
15
22
|
dependencies: []
|
16
23
|
|
@@ -23,8 +30,6 @@ extensions: []
|
|
23
30
|
extra_rdoc_files: []
|
24
31
|
|
25
32
|
files:
|
26
|
-
- lib/active_merchant
|
27
|
-
- lib/active_merchant/billing
|
28
33
|
- lib/active_merchant/billing/avs_result.rb
|
29
34
|
- lib/active_merchant/billing/base.rb
|
30
35
|
- lib/active_merchant/billing/check.rb
|
@@ -34,10 +39,8 @@ files:
|
|
34
39
|
- lib/active_merchant/billing/cvv_result.rb
|
35
40
|
- lib/active_merchant/billing/expiry_date.rb
|
36
41
|
- lib/active_merchant/billing/gateway.rb
|
37
|
-
- lib/active_merchant/billing/gateways
|
38
42
|
- lib/active_merchant/billing/gateways/authorize_net.rb
|
39
43
|
- lib/active_merchant/billing/gateways/authorize_net_cim.rb
|
40
|
-
- lib/active_merchant/billing/gateways/beanstream
|
41
44
|
- lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
|
42
45
|
- lib/active_merchant/billing/gateways/beanstream.rb
|
43
46
|
- lib/active_merchant/billing/gateways/beanstream_interac.rb
|
@@ -62,7 +65,6 @@ files:
|
|
62
65
|
- lib/active_merchant/billing/gateways/ogone.rb
|
63
66
|
- lib/active_merchant/billing/gateways/pay_junction.rb
|
64
67
|
- lib/active_merchant/billing/gateways/pay_secure.rb
|
65
|
-
- lib/active_merchant/billing/gateways/payflow
|
66
68
|
- lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
|
67
69
|
- lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
|
68
70
|
- lib/active_merchant/billing/gateways/payflow/payflow_response.rb
|
@@ -71,7 +73,6 @@ files:
|
|
71
73
|
- lib/active_merchant/billing/gateways/payflow_express_uk.rb
|
72
74
|
- lib/active_merchant/billing/gateways/payflow_uk.rb
|
73
75
|
- lib/active_merchant/billing/gateways/payment_express.rb
|
74
|
-
- lib/active_merchant/billing/gateways/paypal
|
75
76
|
- lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
|
76
77
|
- lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb
|
77
78
|
- lib/active_merchant/billing/gateways/paypal.rb
|
@@ -83,7 +84,6 @@ files:
|
|
83
84
|
- lib/active_merchant/billing/gateways/psl_card.rb
|
84
85
|
- lib/active_merchant/billing/gateways/quickpay.rb
|
85
86
|
- lib/active_merchant/billing/gateways/realex.rb
|
86
|
-
- lib/active_merchant/billing/gateways/sage
|
87
87
|
- lib/active_merchant/billing/gateways/sage/sage_bankcard.rb
|
88
88
|
- lib/active_merchant/billing/gateways/sage/sage_core.rb
|
89
89
|
- lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb
|
@@ -102,54 +102,44 @@ files:
|
|
102
102
|
- lib/active_merchant/billing/gateways/viaklix.rb
|
103
103
|
- lib/active_merchant/billing/gateways/wirecard.rb
|
104
104
|
- lib/active_merchant/billing/gateways.rb
|
105
|
-
- lib/active_merchant/billing/integrations
|
106
105
|
- lib/active_merchant/billing/integrations/action_view_helper.rb
|
107
|
-
- lib/active_merchant/billing/integrations/bogus
|
108
106
|
- lib/active_merchant/billing/integrations/bogus/helper.rb
|
109
107
|
- lib/active_merchant/billing/integrations/bogus/notification.rb
|
110
108
|
- lib/active_merchant/billing/integrations/bogus/return.rb
|
111
109
|
- lib/active_merchant/billing/integrations/bogus.rb
|
112
|
-
- lib/active_merchant/billing/integrations/chronopay
|
113
110
|
- lib/active_merchant/billing/integrations/chronopay/helper.rb
|
114
111
|
- lib/active_merchant/billing/integrations/chronopay/notification.rb
|
115
112
|
- lib/active_merchant/billing/integrations/chronopay/return.rb
|
116
113
|
- lib/active_merchant/billing/integrations/chronopay.rb
|
117
|
-
- lib/active_merchant/billing/integrations/gestpay
|
118
114
|
- lib/active_merchant/billing/integrations/gestpay/common.rb
|
119
115
|
- lib/active_merchant/billing/integrations/gestpay/helper.rb
|
120
116
|
- lib/active_merchant/billing/integrations/gestpay/notification.rb
|
121
117
|
- lib/active_merchant/billing/integrations/gestpay/return.rb
|
122
118
|
- lib/active_merchant/billing/integrations/gestpay.rb
|
123
119
|
- lib/active_merchant/billing/integrations/helper.rb
|
124
|
-
- lib/active_merchant/billing/integrations/hi_trust
|
125
120
|
- lib/active_merchant/billing/integrations/hi_trust/helper.rb
|
126
121
|
- lib/active_merchant/billing/integrations/hi_trust/notification.rb
|
127
122
|
- lib/active_merchant/billing/integrations/hi_trust/return.rb
|
128
123
|
- lib/active_merchant/billing/integrations/hi_trust.rb
|
129
|
-
- lib/active_merchant/billing/integrations/nochex
|
130
124
|
- lib/active_merchant/billing/integrations/nochex/helper.rb
|
131
125
|
- lib/active_merchant/billing/integrations/nochex/notification.rb
|
132
126
|
- lib/active_merchant/billing/integrations/nochex/return.rb
|
133
127
|
- lib/active_merchant/billing/integrations/nochex.rb
|
134
128
|
- lib/active_merchant/billing/integrations/notification.rb
|
135
|
-
- lib/active_merchant/billing/integrations/paypal
|
136
129
|
- lib/active_merchant/billing/integrations/paypal/helper.rb
|
137
130
|
- lib/active_merchant/billing/integrations/paypal/notification.rb
|
138
131
|
- lib/active_merchant/billing/integrations/paypal/return.rb
|
139
132
|
- lib/active_merchant/billing/integrations/paypal.rb
|
140
|
-
- lib/active_merchant/billing/integrations/quickpay
|
141
133
|
- lib/active_merchant/billing/integrations/quickpay/helper.rb
|
142
134
|
- lib/active_merchant/billing/integrations/quickpay/notification.rb
|
143
135
|
- lib/active_merchant/billing/integrations/quickpay.rb
|
144
136
|
- lib/active_merchant/billing/integrations/return.rb
|
145
|
-
- lib/active_merchant/billing/integrations/two_checkout
|
146
137
|
- lib/active_merchant/billing/integrations/two_checkout/helper.rb
|
147
138
|
- lib/active_merchant/billing/integrations/two_checkout/notification.rb
|
148
139
|
- lib/active_merchant/billing/integrations/two_checkout/return.rb
|
149
140
|
- lib/active_merchant/billing/integrations/two_checkout.rb
|
150
141
|
- lib/active_merchant/billing/integrations.rb
|
151
142
|
- lib/active_merchant/billing/response.rb
|
152
|
-
- lib/active_merchant/lib
|
153
143
|
- lib/active_merchant/lib/connection.rb
|
154
144
|
- lib/active_merchant/lib/country.rb
|
155
145
|
- lib/active_merchant/lib/error.rb
|
@@ -159,13 +149,9 @@ files:
|
|
159
149
|
- lib/active_merchant/lib/utils.rb
|
160
150
|
- lib/active_merchant/lib/validateable.rb
|
161
151
|
- lib/active_merchant.rb
|
162
|
-
- lib/certs
|
163
152
|
- lib/certs/cacert.pem
|
164
|
-
- lib/support
|
165
153
|
- lib/support/gateway_support.rb
|
166
154
|
- test/fixtures.yml
|
167
|
-
- test/remote
|
168
|
-
- test/remote/gateways
|
169
155
|
- test/remote/gateways/remote_authorize_net_cim_test.rb
|
170
156
|
- test/remote/gateways/remote_authorize_net_test.rb
|
171
157
|
- test/remote/gateways/remote_beanstream_interac_test.rb
|
@@ -217,11 +203,9 @@ files:
|
|
217
203
|
- test/remote/gateways/remote_verifi_test.rb
|
218
204
|
- test/remote/gateways/remote_viaklix_test.rb
|
219
205
|
- test/remote/gateways/remote_wirecard_test.rb
|
220
|
-
- test/remote/integrations
|
221
206
|
- test/remote/integrations/remote_gestpay_integration_test.rb
|
222
207
|
- test/remote/integrations/remote_paypal_integration_test.rb
|
223
208
|
- test/test_helper.rb
|
224
|
-
- test/unit
|
225
209
|
- test/unit/avs_result_test.rb
|
226
210
|
- test/unit/base_test.rb
|
227
211
|
- test/unit/check_test.rb
|
@@ -233,7 +217,6 @@ files:
|
|
233
217
|
- test/unit/credit_card_test.rb
|
234
218
|
- test/unit/cvv_result_test.rb
|
235
219
|
- test/unit/expiry_date_test.rb
|
236
|
-
- test/unit/gateways
|
237
220
|
- test/unit/gateways/authorize_net_cim_test.rb
|
238
221
|
- test/unit/gateways/authorize_net_test.rb
|
239
222
|
- test/unit/gateways/beanstream_interac_test.rb
|
@@ -284,16 +267,13 @@ files:
|
|
284
267
|
- test/unit/gateways/verifi_test.rb
|
285
268
|
- test/unit/gateways/viaklix_test.rb
|
286
269
|
- test/unit/gateways/wirecard_test.rb
|
287
|
-
- test/unit/generators
|
288
270
|
- test/unit/generators/test_gateway_generator.rb
|
289
271
|
- test/unit/generators/test_generator_helper.rb
|
290
272
|
- test/unit/generators/test_integration_generator.rb
|
291
|
-
- test/unit/integrations
|
292
273
|
- test/unit/integrations/action_view_helper_test.rb
|
293
274
|
- test/unit/integrations/bogus_module_test.rb
|
294
275
|
- test/unit/integrations/chronopay_module_test.rb
|
295
276
|
- test/unit/integrations/gestpay_module_test.rb
|
296
|
-
- test/unit/integrations/helpers
|
297
277
|
- test/unit/integrations/helpers/bogus_helper_test.rb
|
298
278
|
- test/unit/integrations/helpers/chronopay_helper_test.rb
|
299
279
|
- test/unit/integrations/helpers/gestpay_helper_test.rb
|
@@ -304,7 +284,6 @@ files:
|
|
304
284
|
- test/unit/integrations/helpers/two_checkout_helper_test.rb
|
305
285
|
- test/unit/integrations/hi_trust_module_test.rb
|
306
286
|
- test/unit/integrations/nochex_module_test.rb
|
307
|
-
- test/unit/integrations/notifications
|
308
287
|
- test/unit/integrations/notifications/chronopay_notification_test.rb
|
309
288
|
- test/unit/integrations/notifications/gestpay_notification_test.rb
|
310
289
|
- test/unit/integrations/notifications/hi_trust_notification_test.rb
|
@@ -315,7 +294,6 @@ files:
|
|
315
294
|
- test/unit/integrations/notifications/two_checkout_notification_test.rb
|
316
295
|
- test/unit/integrations/paypal_module_test.rb
|
317
296
|
- test/unit/integrations/quickpay_module_test.rb
|
318
|
-
- test/unit/integrations/returns
|
319
297
|
- test/unit/integrations/returns/chronopay_return_test.rb
|
320
298
|
- test/unit/integrations/returns/gestpay_return_test.rb
|
321
299
|
- test/unit/integrations/returns/hi_trust_return_test.rb
|
@@ -335,41 +313,43 @@ files:
|
|
335
313
|
- CHANGELOG
|
336
314
|
- CONTRIBUTERS
|
337
315
|
- gem-public_cert.pem
|
338
|
-
- generators
|
339
316
|
- init.rb
|
340
|
-
- lib
|
341
317
|
- MIT-LICENSE
|
342
|
-
- rails
|
343
318
|
- Rakefile
|
344
319
|
- README
|
345
|
-
- script
|
346
|
-
- test
|
347
320
|
has_rdoc: true
|
348
321
|
homepage: http://www.activemerchant.org/
|
349
|
-
licenses:
|
322
|
+
licenses: []
|
323
|
+
|
350
324
|
post_install_message:
|
351
325
|
rdoc_options: []
|
352
326
|
|
353
327
|
require_paths:
|
354
328
|
- lib
|
355
329
|
required_ruby_version: !ruby/object:Gem::Requirement
|
330
|
+
none: false
|
356
331
|
requirements:
|
357
332
|
- - ">="
|
358
333
|
- !ruby/object:Gem::Version
|
334
|
+
hash: 3
|
335
|
+
segments:
|
336
|
+
- 0
|
359
337
|
version: "0"
|
360
|
-
version:
|
361
338
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
339
|
+
none: false
|
362
340
|
requirements:
|
363
341
|
- - ">="
|
364
342
|
- !ruby/object:Gem::Version
|
343
|
+
hash: 3
|
344
|
+
segments:
|
345
|
+
- 0
|
365
346
|
version: "0"
|
366
|
-
version:
|
367
347
|
requirements: []
|
368
348
|
|
369
349
|
rubyforge_project:
|
370
|
-
rubygems_version: 1.3.
|
350
|
+
rubygems_version: 1.3.7
|
371
351
|
signing_key:
|
372
|
-
specification_version:
|
352
|
+
specification_version: 3
|
373
353
|
summary: Active Merchant is a simple payment abstraction library used in and sponsored by Shopify.
|
374
354
|
test_files: []
|
375
355
|
|