noctivityinc-activemerchant 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (132) hide show
  1. data/CHANGELOG +506 -0
  2. data/CONTRIBUTORS +134 -0
  3. data/MIT-LICENSE +20 -0
  4. data/README.rdoc +136 -0
  5. data/gem-public_cert.pem +20 -0
  6. data/lib/active_merchant/billing/avs_result.rb +98 -0
  7. data/lib/active_merchant/billing/base.rb +57 -0
  8. data/lib/active_merchant/billing/check.rb +68 -0
  9. data/lib/active_merchant/billing/credit_card.rb +159 -0
  10. data/lib/active_merchant/billing/credit_card_formatting.rb +21 -0
  11. data/lib/active_merchant/billing/credit_card_methods.rb +125 -0
  12. data/lib/active_merchant/billing/cvv_result.rb +38 -0
  13. data/lib/active_merchant/billing/expiry_date.rb +34 -0
  14. data/lib/active_merchant/billing/gateway.rb +163 -0
  15. data/lib/active_merchant/billing/gateways/authorize_net.rb +654 -0
  16. data/lib/active_merchant/billing/gateways/authorize_net_cim.rb +736 -0
  17. data/lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb +244 -0
  18. data/lib/active_merchant/billing/gateways/beanstream.rb +102 -0
  19. data/lib/active_merchant/billing/gateways/beanstream_interac.rb +54 -0
  20. data/lib/active_merchant/billing/gateways/bogus.rb +98 -0
  21. data/lib/active_merchant/billing/gateways/braintree.rb +17 -0
  22. data/lib/active_merchant/billing/gateways/card_stream.rb +230 -0
  23. data/lib/active_merchant/billing/gateways/cyber_source.rb +406 -0
  24. data/lib/active_merchant/billing/gateways/data_cash.rb +593 -0
  25. data/lib/active_merchant/billing/gateways/efsnet.rb +229 -0
  26. data/lib/active_merchant/billing/gateways/elavon.rb +134 -0
  27. data/lib/active_merchant/billing/gateways/eway.rb +277 -0
  28. data/lib/active_merchant/billing/gateways/exact.rb +222 -0
  29. data/lib/active_merchant/billing/gateways/first_pay.rb +172 -0
  30. data/lib/active_merchant/billing/gateways/instapay.rb +164 -0
  31. data/lib/active_merchant/billing/gateways/jetpay.rb +270 -0
  32. data/lib/active_merchant/billing/gateways/linkpoint.rb +449 -0
  33. data/lib/active_merchant/billing/gateways/merchant_e_solutions.rb +154 -0
  34. data/lib/active_merchant/billing/gateways/merchant_ware.rb +283 -0
  35. data/lib/active_merchant/billing/gateways/modern_payments.rb +36 -0
  36. data/lib/active_merchant/billing/gateways/modern_payments_cim.rb +220 -0
  37. data/lib/active_merchant/billing/gateways/moneris.rb +205 -0
  38. data/lib/active_merchant/billing/gateways/net_registry.rb +189 -0
  39. data/lib/active_merchant/billing/gateways/netbilling.rb +168 -0
  40. data/lib/active_merchant/billing/gateways/ogone.rb +279 -0
  41. data/lib/active_merchant/billing/gateways/pay_junction.rb +392 -0
  42. data/lib/active_merchant/billing/gateways/pay_secure.rb +120 -0
  43. data/lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb +207 -0
  44. data/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb +39 -0
  45. data/lib/active_merchant/billing/gateways/payflow/payflow_response.rb +13 -0
  46. data/lib/active_merchant/billing/gateways/payflow.rb +236 -0
  47. data/lib/active_merchant/billing/gateways/payflow_express.rb +138 -0
  48. data/lib/active_merchant/billing/gateways/payflow_express_uk.rb +15 -0
  49. data/lib/active_merchant/billing/gateways/payflow_uk.rb +21 -0
  50. data/lib/active_merchant/billing/gateways/payment_express.rb +230 -0
  51. data/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb +326 -0
  52. data/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb +38 -0
  53. data/lib/active_merchant/billing/gateways/paypal.rb +121 -0
  54. data/lib/active_merchant/billing/gateways/paypal_ca.rb +13 -0
  55. data/lib/active_merchant/billing/gateways/paypal_express.rb +130 -0
  56. data/lib/active_merchant/billing/gateways/paypal_express_common.rb +20 -0
  57. data/lib/active_merchant/billing/gateways/plugnpay.rb +292 -0
  58. data/lib/active_merchant/billing/gateways/psigate.rb +214 -0
  59. data/lib/active_merchant/billing/gateways/psl_card.rb +304 -0
  60. data/lib/active_merchant/billing/gateways/quantum.rb +272 -0
  61. data/lib/active_merchant/billing/gateways/quickpay.rb +213 -0
  62. data/lib/active_merchant/billing/gateways/realex.rb +200 -0
  63. data/lib/active_merchant/billing/gateways/sage/sage_bankcard.rb +88 -0
  64. data/lib/active_merchant/billing/gateways/sage/sage_core.rb +116 -0
  65. data/lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb +97 -0
  66. data/lib/active_merchant/billing/gateways/sage.rb +146 -0
  67. data/lib/active_merchant/billing/gateways/sage_pay.rb +309 -0
  68. data/lib/active_merchant/billing/gateways/sallie_mae.rb +144 -0
  69. data/lib/active_merchant/billing/gateways/secure_pay.rb +31 -0
  70. data/lib/active_merchant/billing/gateways/secure_pay_au.rb +157 -0
  71. data/lib/active_merchant/billing/gateways/secure_pay_tech.rb +113 -0
  72. data/lib/active_merchant/billing/gateways/skip_jack.rb +453 -0
  73. data/lib/active_merchant/billing/gateways/smart_ps.rb +265 -0
  74. data/lib/active_merchant/billing/gateways/trans_first.rb +127 -0
  75. data/lib/active_merchant/billing/gateways/transax.rb +25 -0
  76. data/lib/active_merchant/billing/gateways/trust_commerce.rb +418 -0
  77. data/lib/active_merchant/billing/gateways/usa_epay.rb +194 -0
  78. data/lib/active_merchant/billing/gateways/verifi.rb +228 -0
  79. data/lib/active_merchant/billing/gateways/viaklix.rb +189 -0
  80. data/lib/active_merchant/billing/gateways/wirecard.rb +318 -0
  81. data/lib/active_merchant/billing/gateways.rb +18 -0
  82. data/lib/active_merchant/billing/integrations/action_view_helper.rb +79 -0
  83. data/lib/active_merchant/billing/integrations/bogus/helper.rb +17 -0
  84. data/lib/active_merchant/billing/integrations/bogus/notification.rb +11 -0
  85. data/lib/active_merchant/billing/integrations/bogus/return.rb +10 -0
  86. data/lib/active_merchant/billing/integrations/bogus.rb +23 -0
  87. data/lib/active_merchant/billing/integrations/chronopay/helper.rb +120 -0
  88. data/lib/active_merchant/billing/integrations/chronopay/notification.rb +158 -0
  89. data/lib/active_merchant/billing/integrations/chronopay/return.rb +10 -0
  90. data/lib/active_merchant/billing/integrations/chronopay.rb +23 -0
  91. data/lib/active_merchant/billing/integrations/gestpay/common.rb +42 -0
  92. data/lib/active_merchant/billing/integrations/gestpay/helper.rb +70 -0
  93. data/lib/active_merchant/billing/integrations/gestpay/notification.rb +85 -0
  94. data/lib/active_merchant/billing/integrations/gestpay/return.rb +10 -0
  95. data/lib/active_merchant/billing/integrations/gestpay.rb +25 -0
  96. data/lib/active_merchant/billing/integrations/helper.rb +93 -0
  97. data/lib/active_merchant/billing/integrations/hi_trust/helper.rb +58 -0
  98. data/lib/active_merchant/billing/integrations/hi_trust/notification.rb +59 -0
  99. data/lib/active_merchant/billing/integrations/hi_trust/return.rb +67 -0
  100. data/lib/active_merchant/billing/integrations/hi_trust.rb +27 -0
  101. data/lib/active_merchant/billing/integrations/nochex/helper.rb +68 -0
  102. data/lib/active_merchant/billing/integrations/nochex/notification.rb +94 -0
  103. data/lib/active_merchant/billing/integrations/nochex/return.rb +10 -0
  104. data/lib/active_merchant/billing/integrations/nochex.rb +88 -0
  105. data/lib/active_merchant/billing/integrations/notification.rb +62 -0
  106. data/lib/active_merchant/billing/integrations/paypal/helper.rb +119 -0
  107. data/lib/active_merchant/billing/integrations/paypal/notification.rb +154 -0
  108. data/lib/active_merchant/billing/integrations/paypal/return.rb +10 -0
  109. data/lib/active_merchant/billing/integrations/paypal.rb +39 -0
  110. data/lib/active_merchant/billing/integrations/quickpay/helper.rb +72 -0
  111. data/lib/active_merchant/billing/integrations/quickpay/notification.rb +74 -0
  112. data/lib/active_merchant/billing/integrations/quickpay.rb +17 -0
  113. data/lib/active_merchant/billing/integrations/return.rb +35 -0
  114. data/lib/active_merchant/billing/integrations/two_checkout/helper.rb +59 -0
  115. data/lib/active_merchant/billing/integrations/two_checkout/notification.rb +114 -0
  116. data/lib/active_merchant/billing/integrations/two_checkout/return.rb +17 -0
  117. data/lib/active_merchant/billing/integrations/two_checkout.rb +23 -0
  118. data/lib/active_merchant/billing/integrations.rb +29 -0
  119. data/lib/active_merchant/billing/response.rb +32 -0
  120. data/lib/active_merchant/billing.rb +9 -0
  121. data/lib/active_merchant/lib/connection.rb +170 -0
  122. data/lib/active_merchant/lib/country.rb +319 -0
  123. data/lib/active_merchant/lib/error.rb +4 -0
  124. data/lib/active_merchant/lib/post_data.rb +22 -0
  125. data/lib/active_merchant/lib/posts_data.rb +47 -0
  126. data/lib/active_merchant/lib/requires_parameters.rb +16 -0
  127. data/lib/active_merchant/lib/utils.rb +18 -0
  128. data/lib/active_merchant/lib/validateable.rb +76 -0
  129. data/lib/active_merchant.rb +46 -0
  130. data/lib/certs/cacert.pem +7815 -0
  131. data/lib/support/gateway_support.rb +58 -0
  132. metadata +204 -0
@@ -0,0 +1,58 @@
1
+ require 'rubygems'
2
+ require 'active_support'
3
+ require 'lib/active_merchant'
4
+
5
+
6
+ class GatewaySupport #:nodoc:
7
+ ACTIONS = [:purchase, :authorize, :capture, :void, :credit, :recurring]
8
+
9
+ include ActiveMerchant::Billing
10
+
11
+ attr_reader :gateways
12
+
13
+ def initialize
14
+ @gateways = Gateway.implementations.sort_by(&:name)
15
+ @gateways.delete(ActiveMerchant::Billing::BogusGateway)
16
+ end
17
+
18
+ def each_gateway
19
+ @gateways.each{|g| yield g }
20
+ end
21
+
22
+ def features
23
+ width = 15
24
+
25
+ print "Name".center(width + 20)
26
+ ACTIONS.each{|f| print "#{f.to_s.capitalize.center(width)}" }
27
+ puts
28
+
29
+ each_gateway do |g|
30
+ print "#{g.display_name.ljust(width + 20)}"
31
+ ACTIONS.each do |f|
32
+ print "#{(g.instance_methods.include?(f.to_s) ? "Y" : "N").center(width)}"
33
+ end
34
+ puts
35
+ end
36
+ end
37
+
38
+ def to_rdoc
39
+ each_gateway do |g|
40
+ puts "* {#{g.display_name}}[#{g.homepage_url}] - #{g.supported_countries.join(', ')}"
41
+ end
42
+ end
43
+
44
+ def to_textile
45
+ each_gateway do |g|
46
+ puts %/ * "#{g.display_name}":#{g.homepage_url} [#{g.supported_countries.join(', ')}]/
47
+ end
48
+ end
49
+
50
+ def to_s
51
+ each_gateway do |g|
52
+ puts "#{g.display_name} - #{g.homepage_url} [#{g.supported_countries.join(', ')}]"
53
+ end
54
+ end
55
+ end
56
+
57
+
58
+
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: noctivityinc-activemerchant
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.5.1
5
+ platform: ruby
6
+ authors:
7
+ - Tobias Luetke
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - gem-public_cert.pem
12
+ date: 2010-02-14 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.3.2
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: builder
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.0
34
+ version:
35
+ description: Active Merchant is a simple payment abstraction library used in and sponsored by Shopify. It is written by Tobias Luetke, Cody Fauser, and contributors. The aim of the project is to feel natural to Ruby users and to abstract as many parts as possible away from the user to offer a consistent interface across all supported gateways.
36
+ email: tobi@leetsoft.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files: []
42
+
43
+ files:
44
+ - CHANGELOG
45
+ - README.rdoc
46
+ - MIT-LICENSE
47
+ - CONTRIBUTORS
48
+ - gem-public_cert.pem
49
+ - lib/active_merchant/billing/avs_result.rb
50
+ - lib/active_merchant/billing/base.rb
51
+ - lib/active_merchant/billing/check.rb
52
+ - lib/active_merchant/billing/credit_card.rb
53
+ - lib/active_merchant/billing/credit_card_formatting.rb
54
+ - lib/active_merchant/billing/credit_card_methods.rb
55
+ - lib/active_merchant/billing/cvv_result.rb
56
+ - lib/active_merchant/billing/expiry_date.rb
57
+ - lib/active_merchant/billing/gateway.rb
58
+ - lib/active_merchant/billing/gateways/authorize_net.rb
59
+ - lib/active_merchant/billing/gateways/authorize_net_cim.rb
60
+ - lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
61
+ - lib/active_merchant/billing/gateways/beanstream.rb
62
+ - lib/active_merchant/billing/gateways/beanstream_interac.rb
63
+ - lib/active_merchant/billing/gateways/bogus.rb
64
+ - lib/active_merchant/billing/gateways/braintree.rb
65
+ - lib/active_merchant/billing/gateways/card_stream.rb
66
+ - lib/active_merchant/billing/gateways/cyber_source.rb
67
+ - lib/active_merchant/billing/gateways/data_cash.rb
68
+ - lib/active_merchant/billing/gateways/efsnet.rb
69
+ - lib/active_merchant/billing/gateways/elavon.rb
70
+ - lib/active_merchant/billing/gateways/eway.rb
71
+ - lib/active_merchant/billing/gateways/exact.rb
72
+ - lib/active_merchant/billing/gateways/first_pay.rb
73
+ - lib/active_merchant/billing/gateways/instapay.rb
74
+ - lib/active_merchant/billing/gateways/jetpay.rb
75
+ - lib/active_merchant/billing/gateways/linkpoint.rb
76
+ - lib/active_merchant/billing/gateways/merchant_e_solutions.rb
77
+ - lib/active_merchant/billing/gateways/merchant_ware.rb
78
+ - lib/active_merchant/billing/gateways/modern_payments.rb
79
+ - lib/active_merchant/billing/gateways/modern_payments_cim.rb
80
+ - lib/active_merchant/billing/gateways/moneris.rb
81
+ - lib/active_merchant/billing/gateways/net_registry.rb
82
+ - lib/active_merchant/billing/gateways/netbilling.rb
83
+ - lib/active_merchant/billing/gateways/ogone.rb
84
+ - lib/active_merchant/billing/gateways/pay_junction.rb
85
+ - lib/active_merchant/billing/gateways/pay_secure.rb
86
+ - lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
87
+ - lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
88
+ - lib/active_merchant/billing/gateways/payflow/payflow_response.rb
89
+ - lib/active_merchant/billing/gateways/payflow.rb
90
+ - lib/active_merchant/billing/gateways/payflow_express.rb
91
+ - lib/active_merchant/billing/gateways/payflow_express_uk.rb
92
+ - lib/active_merchant/billing/gateways/payflow_uk.rb
93
+ - lib/active_merchant/billing/gateways/payment_express.rb
94
+ - lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
95
+ - lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb
96
+ - lib/active_merchant/billing/gateways/paypal.rb
97
+ - lib/active_merchant/billing/gateways/paypal_ca.rb
98
+ - lib/active_merchant/billing/gateways/paypal_express.rb
99
+ - lib/active_merchant/billing/gateways/paypal_express_common.rb
100
+ - lib/active_merchant/billing/gateways/plugnpay.rb
101
+ - lib/active_merchant/billing/gateways/psigate.rb
102
+ - lib/active_merchant/billing/gateways/psl_card.rb
103
+ - lib/active_merchant/billing/gateways/quantum.rb
104
+ - lib/active_merchant/billing/gateways/quickpay.rb
105
+ - lib/active_merchant/billing/gateways/realex.rb
106
+ - lib/active_merchant/billing/gateways/sage/sage_bankcard.rb
107
+ - lib/active_merchant/billing/gateways/sage/sage_core.rb
108
+ - lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb
109
+ - lib/active_merchant/billing/gateways/sage.rb
110
+ - lib/active_merchant/billing/gateways/sage_pay.rb
111
+ - lib/active_merchant/billing/gateways/sallie_mae.rb
112
+ - lib/active_merchant/billing/gateways/secure_pay.rb
113
+ - lib/active_merchant/billing/gateways/secure_pay_au.rb
114
+ - lib/active_merchant/billing/gateways/secure_pay_tech.rb
115
+ - lib/active_merchant/billing/gateways/skip_jack.rb
116
+ - lib/active_merchant/billing/gateways/smart_ps.rb
117
+ - lib/active_merchant/billing/gateways/trans_first.rb
118
+ - lib/active_merchant/billing/gateways/transax.rb
119
+ - lib/active_merchant/billing/gateways/trust_commerce.rb
120
+ - lib/active_merchant/billing/gateways/usa_epay.rb
121
+ - lib/active_merchant/billing/gateways/verifi.rb
122
+ - lib/active_merchant/billing/gateways/viaklix.rb
123
+ - lib/active_merchant/billing/gateways/wirecard.rb
124
+ - lib/active_merchant/billing/gateways.rb
125
+ - lib/active_merchant/billing/integrations/action_view_helper.rb
126
+ - lib/active_merchant/billing/integrations/bogus/helper.rb
127
+ - lib/active_merchant/billing/integrations/bogus/notification.rb
128
+ - lib/active_merchant/billing/integrations/bogus/return.rb
129
+ - lib/active_merchant/billing/integrations/bogus.rb
130
+ - lib/active_merchant/billing/integrations/chronopay/helper.rb
131
+ - lib/active_merchant/billing/integrations/chronopay/notification.rb
132
+ - lib/active_merchant/billing/integrations/chronopay/return.rb
133
+ - lib/active_merchant/billing/integrations/chronopay.rb
134
+ - lib/active_merchant/billing/integrations/gestpay/common.rb
135
+ - lib/active_merchant/billing/integrations/gestpay/helper.rb
136
+ - lib/active_merchant/billing/integrations/gestpay/notification.rb
137
+ - lib/active_merchant/billing/integrations/gestpay/return.rb
138
+ - lib/active_merchant/billing/integrations/gestpay.rb
139
+ - lib/active_merchant/billing/integrations/helper.rb
140
+ - lib/active_merchant/billing/integrations/hi_trust/helper.rb
141
+ - lib/active_merchant/billing/integrations/hi_trust/notification.rb
142
+ - lib/active_merchant/billing/integrations/hi_trust/return.rb
143
+ - lib/active_merchant/billing/integrations/hi_trust.rb
144
+ - lib/active_merchant/billing/integrations/nochex/helper.rb
145
+ - lib/active_merchant/billing/integrations/nochex/notification.rb
146
+ - lib/active_merchant/billing/integrations/nochex/return.rb
147
+ - lib/active_merchant/billing/integrations/nochex.rb
148
+ - lib/active_merchant/billing/integrations/notification.rb
149
+ - lib/active_merchant/billing/integrations/paypal/helper.rb
150
+ - lib/active_merchant/billing/integrations/paypal/notification.rb
151
+ - lib/active_merchant/billing/integrations/paypal/return.rb
152
+ - lib/active_merchant/billing/integrations/paypal.rb
153
+ - lib/active_merchant/billing/integrations/quickpay/helper.rb
154
+ - lib/active_merchant/billing/integrations/quickpay/notification.rb
155
+ - lib/active_merchant/billing/integrations/quickpay.rb
156
+ - lib/active_merchant/billing/integrations/return.rb
157
+ - lib/active_merchant/billing/integrations/two_checkout/helper.rb
158
+ - lib/active_merchant/billing/integrations/two_checkout/notification.rb
159
+ - lib/active_merchant/billing/integrations/two_checkout/return.rb
160
+ - lib/active_merchant/billing/integrations/two_checkout.rb
161
+ - lib/active_merchant/billing/integrations.rb
162
+ - lib/active_merchant/billing/response.rb
163
+ - lib/active_merchant/billing.rb
164
+ - lib/active_merchant/lib/connection.rb
165
+ - lib/active_merchant/lib/country.rb
166
+ - lib/active_merchant/lib/error.rb
167
+ - lib/active_merchant/lib/post_data.rb
168
+ - lib/active_merchant/lib/posts_data.rb
169
+ - lib/active_merchant/lib/requires_parameters.rb
170
+ - lib/active_merchant/lib/utils.rb
171
+ - lib/active_merchant/lib/validateable.rb
172
+ - lib/active_merchant.rb
173
+ - lib/certs/cacert.pem
174
+ - lib/support/gateway_support.rb
175
+ has_rdoc: true
176
+ homepage: http://activemerchant.org/
177
+ licenses: []
178
+
179
+ post_install_message:
180
+ rdoc_options: []
181
+
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: "0"
189
+ version:
190
+ required_rubygems_version: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - ">="
193
+ - !ruby/object:Gem::Version
194
+ version: "0"
195
+ version:
196
+ requirements: []
197
+
198
+ rubyforge_project: activemerchant
199
+ rubygems_version: 1.3.5
200
+ signing_key:
201
+ specification_version: 3
202
+ summary: Framework and tools for dealing with credit card transactions WITH QUANTUM GATEWAY support.
203
+ test_files: []
204
+