start_activemerchant 1.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (218) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG +1769 -0
  3. data/CONTRIBUTORS +540 -0
  4. data/MIT-LICENSE +20 -0
  5. data/README.md +226 -0
  6. data/lib/active_merchant.rb +67 -0
  7. data/lib/active_merchant/billing.rb +15 -0
  8. data/lib/active_merchant/billing/apple_pay_payment_token.rb +22 -0
  9. data/lib/active_merchant/billing/avs_result.rb +98 -0
  10. data/lib/active_merchant/billing/base.rb +72 -0
  11. data/lib/active_merchant/billing/check.rb +76 -0
  12. data/lib/active_merchant/billing/compatibility.rb +120 -0
  13. data/lib/active_merchant/billing/credit_card.rb +404 -0
  14. data/lib/active_merchant/billing/credit_card_formatting.rb +24 -0
  15. data/lib/active_merchant/billing/credit_card_methods.rb +195 -0
  16. data/lib/active_merchant/billing/cvv_result.rb +38 -0
  17. data/lib/active_merchant/billing/gateway.rb +291 -0
  18. data/lib/active_merchant/billing/gateways.rb +14 -0
  19. data/lib/active_merchant/billing/gateways/allied_wallet.rb +203 -0
  20. data/lib/active_merchant/billing/gateways/app55.rb +176 -0
  21. data/lib/active_merchant/billing/gateways/authorize_net.rb +510 -0
  22. data/lib/active_merchant/billing/gateways/authorize_net_arb.rb +417 -0
  23. data/lib/active_merchant/billing/gateways/authorize_net_cim.rb +976 -0
  24. data/lib/active_merchant/billing/gateways/axcessms.rb +181 -0
  25. data/lib/active_merchant/billing/gateways/balanced.rb +256 -0
  26. data/lib/active_merchant/billing/gateways/bank_frick.rb +225 -0
  27. data/lib/active_merchant/billing/gateways/banwire.rb +105 -0
  28. data/lib/active_merchant/billing/gateways/barclays_epdq.rb +314 -0
  29. data/lib/active_merchant/billing/gateways/barclays_epdq_extra_plus.rb +15 -0
  30. data/lib/active_merchant/billing/gateways/be2bill.rb +131 -0
  31. data/lib/active_merchant/billing/gateways/beanstream.rb +192 -0
  32. data/lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb +389 -0
  33. data/lib/active_merchant/billing/gateways/beanstream_interac.rb +58 -0
  34. data/lib/active_merchant/billing/gateways/blue_pay.rb +506 -0
  35. data/lib/active_merchant/billing/gateways/bogus.rb +140 -0
  36. data/lib/active_merchant/billing/gateways/borgun.rb +211 -0
  37. data/lib/active_merchant/billing/gateways/bpoint.rb +277 -0
  38. data/lib/active_merchant/billing/gateways/braintree.rb +19 -0
  39. data/lib/active_merchant/billing/gateways/braintree/braintree_common.rb +9 -0
  40. data/lib/active_merchant/billing/gateways/braintree_blue.rb +574 -0
  41. data/lib/active_merchant/billing/gateways/braintree_orange.rb +20 -0
  42. data/lib/active_merchant/billing/gateways/bridge_pay.rb +189 -0
  43. data/lib/active_merchant/billing/gateways/card_save.rb +23 -0
  44. data/lib/active_merchant/billing/gateways/card_stream.rb +238 -0
  45. data/lib/active_merchant/billing/gateways/cashnet.rb +202 -0
  46. data/lib/active_merchant/billing/gateways/cc5.rb +201 -0
  47. data/lib/active_merchant/billing/gateways/cecabank.rb +229 -0
  48. data/lib/active_merchant/billing/gateways/cenpos.rb +262 -0
  49. data/lib/active_merchant/billing/gateways/certo_direct.rb +278 -0
  50. data/lib/active_merchant/billing/gateways/checkout.rb +216 -0
  51. data/lib/active_merchant/billing/gateways/checkout_v2.rb +200 -0
  52. data/lib/active_merchant/billing/gateways/commercegate.rb +143 -0
  53. data/lib/active_merchant/billing/gateways/conekta.rb +210 -0
  54. data/lib/active_merchant/billing/gateways/cyber_source.rb +720 -0
  55. data/lib/active_merchant/billing/gateways/data_cash.rb +600 -0
  56. data/lib/active_merchant/billing/gateways/dibs.rb +206 -0
  57. data/lib/active_merchant/billing/gateways/efsnet.rb +219 -0
  58. data/lib/active_merchant/billing/gateways/elavon.rb +348 -0
  59. data/lib/active_merchant/billing/gateways/epay.rb +274 -0
  60. data/lib/active_merchant/billing/gateways/evo_ca.rb +308 -0
  61. data/lib/active_merchant/billing/gateways/eway.rb +214 -0
  62. data/lib/active_merchant/billing/gateways/eway_managed.rb +291 -0
  63. data/lib/active_merchant/billing/gateways/eway_rapid.rb +522 -0
  64. data/lib/active_merchant/billing/gateways/exact.rb +227 -0
  65. data/lib/active_merchant/billing/gateways/ezic.rb +206 -0
  66. data/lib/active_merchant/billing/gateways/fat_zebra.rb +213 -0
  67. data/lib/active_merchant/billing/gateways/federated_canada.rb +160 -0
  68. data/lib/active_merchant/billing/gateways/finansbank.rb +23 -0
  69. data/lib/active_merchant/billing/gateways/first_giving.rb +143 -0
  70. data/lib/active_merchant/billing/gateways/first_pay.rb +160 -0
  71. data/lib/active_merchant/billing/gateways/firstdata_e4.rb +413 -0
  72. data/lib/active_merchant/billing/gateways/flo2cash.rb +215 -0
  73. data/lib/active_merchant/billing/gateways/flo2cash_simple.rb +20 -0
  74. data/lib/active_merchant/billing/gateways/garanti.rb +261 -0
  75. data/lib/active_merchant/billing/gateways/global_transport.rb +179 -0
  76. data/lib/active_merchant/billing/gateways/hdfc.rb +207 -0
  77. data/lib/active_merchant/billing/gateways/hps.rb +287 -0
  78. data/lib/active_merchant/billing/gateways/iats_payments.rb +277 -0
  79. data/lib/active_merchant/billing/gateways/ideal/ideal_base.rb +246 -0
  80. data/lib/active_merchant/billing/gateways/ideal/ideal_rabobank.pem +13 -0
  81. data/lib/active_merchant/billing/gateways/ideal/ideal_response.rb +29 -0
  82. data/lib/active_merchant/billing/gateways/ideal_rabobank.rb +66 -0
  83. data/lib/active_merchant/billing/gateways/inspire.rb +219 -0
  84. data/lib/active_merchant/billing/gateways/instapay.rb +163 -0
  85. data/lib/active_merchant/billing/gateways/ipp.rb +175 -0
  86. data/lib/active_merchant/billing/gateways/iridium.rb +457 -0
  87. data/lib/active_merchant/billing/gateways/itransact.rb +448 -0
  88. data/lib/active_merchant/billing/gateways/jetpay.rb +275 -0
  89. data/lib/active_merchant/billing/gateways/linkpoint.rb +438 -0
  90. data/lib/active_merchant/billing/gateways/litle.rb +345 -0
  91. data/lib/active_merchant/billing/gateways/maxipago.rb +197 -0
  92. data/lib/active_merchant/billing/gateways/merchant_e_solutions.rb +170 -0
  93. data/lib/active_merchant/billing/gateways/merchant_one.rb +114 -0
  94. data/lib/active_merchant/billing/gateways/merchant_partners.rb +245 -0
  95. data/lib/active_merchant/billing/gateways/merchant_ware.rb +319 -0
  96. data/lib/active_merchant/billing/gateways/merchant_ware_version_four.rb +268 -0
  97. data/lib/active_merchant/billing/gateways/merchant_warrior.rb +195 -0
  98. data/lib/active_merchant/billing/gateways/mercury.rb +326 -0
  99. data/lib/active_merchant/billing/gateways/metrics_global.rb +303 -0
  100. data/lib/active_merchant/billing/gateways/migs.rb +280 -0
  101. data/lib/active_merchant/billing/gateways/migs/migs_codes.rb +100 -0
  102. data/lib/active_merchant/billing/gateways/modern_payments.rb +37 -0
  103. data/lib/active_merchant/billing/gateways/modern_payments_cim.rb +219 -0
  104. data/lib/active_merchant/billing/gateways/monei.rb +307 -0
  105. data/lib/active_merchant/billing/gateways/moneris.rb +309 -0
  106. data/lib/active_merchant/billing/gateways/moneris_us.rb +298 -0
  107. data/lib/active_merchant/billing/gateways/money_movers.rb +152 -0
  108. data/lib/active_merchant/billing/gateways/nab_transact.rb +290 -0
  109. data/lib/active_merchant/billing/gateways/net_registry.rb +198 -0
  110. data/lib/active_merchant/billing/gateways/netaxept.rb +181 -0
  111. data/lib/active_merchant/billing/gateways/netbilling.rb +224 -0
  112. data/lib/active_merchant/billing/gateways/netpay.rb +223 -0
  113. data/lib/active_merchant/billing/gateways/network_merchants.rb +242 -0
  114. data/lib/active_merchant/billing/gateways/nmi.rb +256 -0
  115. data/lib/active_merchant/billing/gateways/ogone.rb +435 -0
  116. data/lib/active_merchant/billing/gateways/omise.rb +319 -0
  117. data/lib/active_merchant/billing/gateways/openpay.rb +194 -0
  118. data/lib/active_merchant/billing/gateways/optimal_payment.rb +314 -0
  119. data/lib/active_merchant/billing/gateways/orbital.rb +834 -0
  120. data/lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb +47 -0
  121. data/lib/active_merchant/billing/gateways/pac_net_raven.rb +207 -0
  122. data/lib/active_merchant/billing/gateways/pago_facil.rb +122 -0
  123. data/lib/active_merchant/billing/gateways/pay_conex.rb +246 -0
  124. data/lib/active_merchant/billing/gateways/pay_gate_xml.rb +277 -0
  125. data/lib/active_merchant/billing/gateways/pay_hub.rb +213 -0
  126. data/lib/active_merchant/billing/gateways/pay_junction.rb +390 -0
  127. data/lib/active_merchant/billing/gateways/pay_secure.rb +112 -0
  128. data/lib/active_merchant/billing/gateways/paybox_direct.rb +188 -0
  129. data/lib/active_merchant/billing/gateways/payex.rb +412 -0
  130. data/lib/active_merchant/billing/gateways/payflow.rb +308 -0
  131. data/lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb +220 -0
  132. data/lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb +39 -0
  133. data/lib/active_merchant/billing/gateways/payflow/payflow_response.rb +13 -0
  134. data/lib/active_merchant/billing/gateways/payflow_express.rb +224 -0
  135. data/lib/active_merchant/billing/gateways/payflow_express_uk.rb +15 -0
  136. data/lib/active_merchant/billing/gateways/payflow_uk.rb +21 -0
  137. data/lib/active_merchant/billing/gateways/payment_express.rb +353 -0
  138. data/lib/active_merchant/billing/gateways/paymill.rb +282 -0
  139. data/lib/active_merchant/billing/gateways/paypal.rb +129 -0
  140. data/lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb +679 -0
  141. data/lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb +65 -0
  142. data/lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb +262 -0
  143. data/lib/active_merchant/billing/gateways/paypal_ca.rb +13 -0
  144. data/lib/active_merchant/billing/gateways/paypal_digital_goods.rb +44 -0
  145. data/lib/active_merchant/billing/gateways/paypal_express.rb +264 -0
  146. data/lib/active_merchant/billing/gateways/paypal_express_common.rb +30 -0
  147. data/lib/active_merchant/billing/gateways/payscout.rb +162 -0
  148. data/lib/active_merchant/billing/gateways/paystation.rb +199 -0
  149. data/lib/active_merchant/billing/gateways/payu_in.rb +247 -0
  150. data/lib/active_merchant/billing/gateways/payway.rb +207 -0
  151. data/lib/active_merchant/billing/gateways/pin.rb +207 -0
  152. data/lib/active_merchant/billing/gateways/plugnpay.rb +283 -0
  153. data/lib/active_merchant/billing/gateways/psigate.rb +216 -0
  154. data/lib/active_merchant/billing/gateways/psl_card.rb +303 -0
  155. data/lib/active_merchant/billing/gateways/qbms.rb +292 -0
  156. data/lib/active_merchant/billing/gateways/quantum.rb +276 -0
  157. data/lib/active_merchant/billing/gateways/quickbooks.rb +280 -0
  158. data/lib/active_merchant/billing/gateways/quickpay.rb +26 -0
  159. data/lib/active_merchant/billing/gateways/quickpay/quickpay_common.rb +188 -0
  160. data/lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb +240 -0
  161. data/lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb +227 -0
  162. data/lib/active_merchant/billing/gateways/qvalent.rb +179 -0
  163. data/lib/active_merchant/billing/gateways/realex.rb +298 -0
  164. data/lib/active_merchant/billing/gateways/redsys.rb +406 -0
  165. data/lib/active_merchant/billing/gateways/s5.rb +226 -0
  166. data/lib/active_merchant/billing/gateways/sage.rb +173 -0
  167. data/lib/active_merchant/billing/gateways/sage/sage_bankcard.rb +89 -0
  168. data/lib/active_merchant/billing/gateways/sage/sage_core.rb +115 -0
  169. data/lib/active_merchant/billing/gateways/sage/sage_vault.rb +149 -0
  170. data/lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb +97 -0
  171. data/lib/active_merchant/billing/gateways/sage_pay.rb +399 -0
  172. data/lib/active_merchant/billing/gateways/sallie_mae.rb +143 -0
  173. data/lib/active_merchant/billing/gateways/secure_net.rb +263 -0
  174. data/lib/active_merchant/billing/gateways/secure_pay.rb +201 -0
  175. data/lib/active_merchant/billing/gateways/secure_pay_au.rb +281 -0
  176. data/lib/active_merchant/billing/gateways/secure_pay_tech.rb +105 -0
  177. data/lib/active_merchant/billing/gateways/skip_jack.rb +451 -0
  178. data/lib/active_merchant/billing/gateways/smart_ps.rb +283 -0
  179. data/lib/active_merchant/billing/gateways/so_easy_pay.rb +194 -0
  180. data/lib/active_merchant/billing/gateways/spreedly_core.rb +247 -0
  181. data/lib/active_merchant/billing/gateways/stripe.rb +489 -0
  182. data/lib/active_merchant/billing/gateways/swipe_checkout.rb +157 -0
  183. data/lib/active_merchant/billing/gateways/tns.rb +227 -0
  184. data/lib/active_merchant/billing/gateways/trans_first.rb +126 -0
  185. data/lib/active_merchant/billing/gateways/transax.rb +23 -0
  186. data/lib/active_merchant/billing/gateways/transnational.rb +10 -0
  187. data/lib/active_merchant/billing/gateways/trust_commerce.rb +416 -0
  188. data/lib/active_merchant/billing/gateways/usa_epay.rb +25 -0
  189. data/lib/active_merchant/billing/gateways/usa_epay_advanced.rb +1516 -0
  190. data/lib/active_merchant/billing/gateways/usa_epay_transaction.rb +259 -0
  191. data/lib/active_merchant/billing/gateways/vanco.rb +280 -0
  192. data/lib/active_merchant/billing/gateways/verifi.rb +225 -0
  193. data/lib/active_merchant/billing/gateways/viaklix.rb +183 -0
  194. data/lib/active_merchant/billing/gateways/webpay.rb +97 -0
  195. data/lib/active_merchant/billing/gateways/wepay.rb +205 -0
  196. data/lib/active_merchant/billing/gateways/wirecard.rb +420 -0
  197. data/lib/active_merchant/billing/gateways/worldpay.rb +331 -0
  198. data/lib/active_merchant/billing/gateways/worldpay_online_payments.rb +204 -0
  199. data/lib/active_merchant/billing/gateways/worldpay_us.rb +181 -0
  200. data/lib/active_merchant/billing/model.rb +30 -0
  201. data/lib/active_merchant/billing/network_tokenization_credit_card.rb +24 -0
  202. data/lib/active_merchant/billing/payment_token.rb +21 -0
  203. data/lib/active_merchant/billing/rails.rb +3 -0
  204. data/lib/active_merchant/billing/response.rb +92 -0
  205. data/lib/active_merchant/connection.rb +172 -0
  206. data/lib/active_merchant/country.rb +332 -0
  207. data/lib/active_merchant/empty.rb +20 -0
  208. data/lib/active_merchant/errors.rb +35 -0
  209. data/lib/active_merchant/network_connection_retries.rb +79 -0
  210. data/lib/active_merchant/post_data.rb +24 -0
  211. data/lib/active_merchant/posts_data.rb +84 -0
  212. data/lib/active_merchant/version.rb +3 -0
  213. data/lib/activemerchant.rb +1 -0
  214. data/lib/certs/cacert.pem +3866 -0
  215. data/lib/support/gateway_support.rb +71 -0
  216. data/lib/support/outbound_hosts.rb +28 -0
  217. data/lib/support/ssl_verify.rb +93 -0
  218. metadata +387 -0
@@ -0,0 +1,71 @@
1
+ require 'rubygems'
2
+ require 'active_support'
3
+ require '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
+ Dir[File.expand_path(File.dirname(__FILE__) + '/../active_merchant/billing/gateways/*.rb')].each do |f|
15
+ filename = File.basename(f, '.rb')
16
+ gateway_name = filename + '_gateway'
17
+ begin
18
+ gateway_class = ('ActiveMerchant::Billing::' + gateway_name.camelize).constantize
19
+ rescue NameError
20
+ puts "Could not load gateway " + gateway_name.camelize + " from " + f + "."
21
+ end
22
+ end
23
+ @gateways = Gateway.implementations.sort_by(&:name)
24
+ @gateways.delete(ActiveMerchant::Billing::BogusGateway)
25
+ end
26
+
27
+ def each_gateway
28
+ @gateways.each{|g| yield g }
29
+ end
30
+
31
+ def features
32
+ width = 15
33
+
34
+ print "Name".center(width + 20)
35
+ ACTIONS.each{|f| print "#{f.to_s.capitalize.center(width)}" }
36
+ puts
37
+
38
+ each_gateway do |g|
39
+ print "#{g.display_name.ljust(width + 20)}"
40
+ ACTIONS.each do |f|
41
+ print "#{(g.instance_methods.include?(f.to_s) ? "Y" : "N").center(width)}"
42
+ end
43
+ puts
44
+ end
45
+ end
46
+
47
+ def to_rdoc
48
+ each_gateway do |g|
49
+ puts "* {#{g.display_name}}[#{g.homepage_url}] - #{g.supported_countries.join(', ')}"
50
+ end
51
+ end
52
+
53
+ def to_textile
54
+ each_gateway do |g|
55
+ puts %/ * "#{g.display_name}":#{g.homepage_url} [#{g.supported_countries.join(', ')}]/
56
+ end
57
+ end
58
+
59
+ def to_markdown
60
+ each_gateway do |g|
61
+ puts %/* [#{g.display_name}](#{g.homepage_url}) - #{g.supported_countries.join(', ')}/
62
+ end
63
+ end
64
+
65
+ def to_s
66
+ each_gateway do |g|
67
+ puts "#{g.display_name} - #{g.homepage_url} [#{g.supported_countries.join(', ')}]"
68
+ end
69
+ end
70
+ end
71
+
@@ -0,0 +1,28 @@
1
+ require 'uri'
2
+ require 'set'
3
+
4
+ class OutboundHosts
5
+ def self.list
6
+ hosts = Set.new
7
+ invalid_lines = Set.new
8
+
9
+ Dir['lib/**/*.rb'].each do |file|
10
+ content = File.read(file)
11
+
12
+ content.each_line do |line|
13
+ next if line =~ /homepage_url/
14
+
15
+ if line =~ /("|')(https:\/\/[^'"]*)("|')/
16
+ begin
17
+ uri = URI.parse($2)
18
+ hosts << "#{uri.host}:#{uri.port}"
19
+ rescue URI::InvalidURIError
20
+ invalid_lines << line
21
+ end
22
+ end
23
+ end
24
+ end
25
+
26
+ [hosts, invalid_lines]
27
+ end
28
+ end
@@ -0,0 +1,93 @@
1
+ require 'active_merchant'
2
+ require 'support/gateway_support'
3
+
4
+ class SSLVerify
5
+
6
+ def initialize
7
+ @gateways = GatewaySupport.new.gateways
8
+ end
9
+
10
+ def test_gateways
11
+ success, failed, missing, errored, disabled = [], [], [], [], []
12
+
13
+ puts "Verifying #{@gateways.count} SSL certificates\n\n"
14
+
15
+ @gateways.each do |g|
16
+ if !g.live_url
17
+ missing << g unless g.abstract_class
18
+ next
19
+ end
20
+
21
+ if !g.ssl_strict
22
+ disabled << g
23
+ end
24
+
25
+ uri = URI.parse(g.live_url)
26
+ result,message = ssl_verify_peer?(uri)
27
+ case result
28
+ when :success
29
+ print "."
30
+ success << g
31
+ when :fail
32
+ print "F"
33
+ failed << {:gateway => g, :message => message}
34
+ when :error
35
+ print "E"
36
+ errored << {:gateway => g, :message => message}
37
+ end
38
+ end
39
+
40
+ puts "\n\n\nFailed Gateways:"
41
+ failed.each do |f|
42
+ puts "#{f[:gateway].name} - #{f[:message]}"
43
+ end
44
+
45
+ puts "\n\nError Gateways:"
46
+ errored.each do |e|
47
+ puts "#{e[:gateway].name} - #{e[:message]}"
48
+ end
49
+
50
+ if missing.size > 0
51
+ puts "\n\nGateways missing live_url:"
52
+ missing.each do |m|
53
+ puts m.name
54
+ end
55
+ end
56
+
57
+ if disabled.size > 0
58
+ puts "\n\nGateways with ssl_strict=false:"
59
+ disabled.each do |d|
60
+ puts d.name
61
+ end
62
+ end
63
+
64
+ end
65
+
66
+ def try_host(http, path)
67
+ http.get(path)
68
+ rescue Net::HTTPBadResponse, EOFError, SocketError
69
+ http.post(path, "")
70
+ end
71
+
72
+ def ssl_verify_peer?(uri)
73
+ http = Net::HTTP.new(uri.host, uri.port)
74
+ http.use_ssl = true
75
+ http.ca_file = File.dirname(__FILE__) + '/certs/cacert.pem'
76
+ http.verify_mode = OpenSSL::SSL::VERIFY_PEER
77
+ http.open_timeout = 60
78
+ http.read_timeout = 60
79
+
80
+ if uri.path.blank?
81
+ try_host(http, "/")
82
+ else
83
+ try_host(http, uri.path)
84
+ end
85
+
86
+ return :success
87
+ rescue OpenSSL::SSL::SSLError => ex
88
+ return :fail, ex.inspect
89
+ rescue Net::HTTPBadResponse, Errno::ETIMEDOUT, EOFError, SocketError, Errno::ECONNREFUSED, Timeout::Error => ex
90
+ return :error, ex.inspect
91
+ end
92
+
93
+ end
metadata ADDED
@@ -0,0 +1,387 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: start_activemerchant
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.50.0
5
+ platform: ruby
6
+ authors:
7
+ - Tobias Luetke
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.14
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 5.0.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.14
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: 5.0.0
33
+ - !ruby/object:Gem::Dependency
34
+ name: i18n
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: 0.6.9
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: 0.6.9
47
+ - !ruby/object:Gem::Dependency
48
+ name: builder
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 2.1.2
54
+ - - "<"
55
+ - !ruby/object:Gem::Version
56
+ version: 4.0.0
57
+ type: :runtime
58
+ prerelease: false
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 2.1.2
64
+ - - "<"
65
+ - !ruby/object:Gem::Version
66
+ version: 4.0.0
67
+ - !ruby/object:Gem::Dependency
68
+ name: nokogiri
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '1.4'
74
+ type: :runtime
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - "~>"
79
+ - !ruby/object:Gem::Version
80
+ version: '1.4'
81
+ - !ruby/object:Gem::Dependency
82
+ name: rake
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: test-unit
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - "~>"
100
+ - !ruby/object:Gem::Version
101
+ version: '3'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: '3'
109
+ - !ruby/object:Gem::Dependency
110
+ name: mocha
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: '1'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - "~>"
121
+ - !ruby/object:Gem::Version
122
+ version: '1'
123
+ - !ruby/object:Gem::Dependency
124
+ name: thor
125
+ requirement: !ruby/object:Gem::Requirement
126
+ requirements:
127
+ - - ">="
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
130
+ type: :development
131
+ prerelease: false
132
+ version_requirements: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ description: Active Merchant is a simple payment abstraction library used in and sponsored
138
+ by Shopify. It is written by Tobias Luetke, Cody Fauser, and contributors. The aim
139
+ of the project is to feel natural to Ruby users and to abstract as many parts as
140
+ possible away from the user to offer a consistent interface across all supported
141
+ gateways.
142
+ email: tobi@leetsoft.com
143
+ executables: []
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - CHANGELOG
148
+ - CONTRIBUTORS
149
+ - MIT-LICENSE
150
+ - README.md
151
+ - lib/active_merchant.rb
152
+ - lib/active_merchant/billing.rb
153
+ - lib/active_merchant/billing/apple_pay_payment_token.rb
154
+ - lib/active_merchant/billing/avs_result.rb
155
+ - lib/active_merchant/billing/base.rb
156
+ - lib/active_merchant/billing/check.rb
157
+ - lib/active_merchant/billing/compatibility.rb
158
+ - lib/active_merchant/billing/credit_card.rb
159
+ - lib/active_merchant/billing/credit_card_formatting.rb
160
+ - lib/active_merchant/billing/credit_card_methods.rb
161
+ - lib/active_merchant/billing/cvv_result.rb
162
+ - lib/active_merchant/billing/gateway.rb
163
+ - lib/active_merchant/billing/gateways.rb
164
+ - lib/active_merchant/billing/gateways/allied_wallet.rb
165
+ - lib/active_merchant/billing/gateways/app55.rb
166
+ - lib/active_merchant/billing/gateways/authorize_net.rb
167
+ - lib/active_merchant/billing/gateways/authorize_net_arb.rb
168
+ - lib/active_merchant/billing/gateways/authorize_net_cim.rb
169
+ - lib/active_merchant/billing/gateways/axcessms.rb
170
+ - lib/active_merchant/billing/gateways/balanced.rb
171
+ - lib/active_merchant/billing/gateways/bank_frick.rb
172
+ - lib/active_merchant/billing/gateways/banwire.rb
173
+ - lib/active_merchant/billing/gateways/barclays_epdq.rb
174
+ - lib/active_merchant/billing/gateways/barclays_epdq_extra_plus.rb
175
+ - lib/active_merchant/billing/gateways/be2bill.rb
176
+ - lib/active_merchant/billing/gateways/beanstream.rb
177
+ - lib/active_merchant/billing/gateways/beanstream/beanstream_core.rb
178
+ - lib/active_merchant/billing/gateways/beanstream_interac.rb
179
+ - lib/active_merchant/billing/gateways/blue_pay.rb
180
+ - lib/active_merchant/billing/gateways/bogus.rb
181
+ - lib/active_merchant/billing/gateways/borgun.rb
182
+ - lib/active_merchant/billing/gateways/bpoint.rb
183
+ - lib/active_merchant/billing/gateways/braintree.rb
184
+ - lib/active_merchant/billing/gateways/braintree/braintree_common.rb
185
+ - lib/active_merchant/billing/gateways/braintree_blue.rb
186
+ - lib/active_merchant/billing/gateways/braintree_orange.rb
187
+ - lib/active_merchant/billing/gateways/bridge_pay.rb
188
+ - lib/active_merchant/billing/gateways/card_save.rb
189
+ - lib/active_merchant/billing/gateways/card_stream.rb
190
+ - lib/active_merchant/billing/gateways/cashnet.rb
191
+ - lib/active_merchant/billing/gateways/cc5.rb
192
+ - lib/active_merchant/billing/gateways/cecabank.rb
193
+ - lib/active_merchant/billing/gateways/cenpos.rb
194
+ - lib/active_merchant/billing/gateways/certo_direct.rb
195
+ - lib/active_merchant/billing/gateways/checkout.rb
196
+ - lib/active_merchant/billing/gateways/checkout_v2.rb
197
+ - lib/active_merchant/billing/gateways/commercegate.rb
198
+ - lib/active_merchant/billing/gateways/conekta.rb
199
+ - lib/active_merchant/billing/gateways/cyber_source.rb
200
+ - lib/active_merchant/billing/gateways/data_cash.rb
201
+ - lib/active_merchant/billing/gateways/dibs.rb
202
+ - lib/active_merchant/billing/gateways/efsnet.rb
203
+ - lib/active_merchant/billing/gateways/elavon.rb
204
+ - lib/active_merchant/billing/gateways/epay.rb
205
+ - lib/active_merchant/billing/gateways/evo_ca.rb
206
+ - lib/active_merchant/billing/gateways/eway.rb
207
+ - lib/active_merchant/billing/gateways/eway_managed.rb
208
+ - lib/active_merchant/billing/gateways/eway_rapid.rb
209
+ - lib/active_merchant/billing/gateways/exact.rb
210
+ - lib/active_merchant/billing/gateways/ezic.rb
211
+ - lib/active_merchant/billing/gateways/fat_zebra.rb
212
+ - lib/active_merchant/billing/gateways/federated_canada.rb
213
+ - lib/active_merchant/billing/gateways/finansbank.rb
214
+ - lib/active_merchant/billing/gateways/first_giving.rb
215
+ - lib/active_merchant/billing/gateways/first_pay.rb
216
+ - lib/active_merchant/billing/gateways/firstdata_e4.rb
217
+ - lib/active_merchant/billing/gateways/flo2cash.rb
218
+ - lib/active_merchant/billing/gateways/flo2cash_simple.rb
219
+ - lib/active_merchant/billing/gateways/garanti.rb
220
+ - lib/active_merchant/billing/gateways/global_transport.rb
221
+ - lib/active_merchant/billing/gateways/hdfc.rb
222
+ - lib/active_merchant/billing/gateways/hps.rb
223
+ - lib/active_merchant/billing/gateways/iats_payments.rb
224
+ - lib/active_merchant/billing/gateways/ideal/ideal_base.rb
225
+ - lib/active_merchant/billing/gateways/ideal/ideal_rabobank.pem
226
+ - lib/active_merchant/billing/gateways/ideal/ideal_response.rb
227
+ - lib/active_merchant/billing/gateways/ideal_rabobank.rb
228
+ - lib/active_merchant/billing/gateways/inspire.rb
229
+ - lib/active_merchant/billing/gateways/instapay.rb
230
+ - lib/active_merchant/billing/gateways/ipp.rb
231
+ - lib/active_merchant/billing/gateways/iridium.rb
232
+ - lib/active_merchant/billing/gateways/itransact.rb
233
+ - lib/active_merchant/billing/gateways/jetpay.rb
234
+ - lib/active_merchant/billing/gateways/linkpoint.rb
235
+ - lib/active_merchant/billing/gateways/litle.rb
236
+ - lib/active_merchant/billing/gateways/maxipago.rb
237
+ - lib/active_merchant/billing/gateways/merchant_e_solutions.rb
238
+ - lib/active_merchant/billing/gateways/merchant_one.rb
239
+ - lib/active_merchant/billing/gateways/merchant_partners.rb
240
+ - lib/active_merchant/billing/gateways/merchant_ware.rb
241
+ - lib/active_merchant/billing/gateways/merchant_ware_version_four.rb
242
+ - lib/active_merchant/billing/gateways/merchant_warrior.rb
243
+ - lib/active_merchant/billing/gateways/mercury.rb
244
+ - lib/active_merchant/billing/gateways/metrics_global.rb
245
+ - lib/active_merchant/billing/gateways/migs.rb
246
+ - lib/active_merchant/billing/gateways/migs/migs_codes.rb
247
+ - lib/active_merchant/billing/gateways/modern_payments.rb
248
+ - lib/active_merchant/billing/gateways/modern_payments_cim.rb
249
+ - lib/active_merchant/billing/gateways/monei.rb
250
+ - lib/active_merchant/billing/gateways/moneris.rb
251
+ - lib/active_merchant/billing/gateways/moneris_us.rb
252
+ - lib/active_merchant/billing/gateways/money_movers.rb
253
+ - lib/active_merchant/billing/gateways/nab_transact.rb
254
+ - lib/active_merchant/billing/gateways/net_registry.rb
255
+ - lib/active_merchant/billing/gateways/netaxept.rb
256
+ - lib/active_merchant/billing/gateways/netbilling.rb
257
+ - lib/active_merchant/billing/gateways/netpay.rb
258
+ - lib/active_merchant/billing/gateways/network_merchants.rb
259
+ - lib/active_merchant/billing/gateways/nmi.rb
260
+ - lib/active_merchant/billing/gateways/ogone.rb
261
+ - lib/active_merchant/billing/gateways/omise.rb
262
+ - lib/active_merchant/billing/gateways/openpay.rb
263
+ - lib/active_merchant/billing/gateways/optimal_payment.rb
264
+ - lib/active_merchant/billing/gateways/orbital.rb
265
+ - lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb
266
+ - lib/active_merchant/billing/gateways/pac_net_raven.rb
267
+ - lib/active_merchant/billing/gateways/pago_facil.rb
268
+ - lib/active_merchant/billing/gateways/pay_conex.rb
269
+ - lib/active_merchant/billing/gateways/pay_gate_xml.rb
270
+ - lib/active_merchant/billing/gateways/pay_hub.rb
271
+ - lib/active_merchant/billing/gateways/pay_junction.rb
272
+ - lib/active_merchant/billing/gateways/pay_secure.rb
273
+ - lib/active_merchant/billing/gateways/paybox_direct.rb
274
+ - lib/active_merchant/billing/gateways/payex.rb
275
+ - lib/active_merchant/billing/gateways/payflow.rb
276
+ - lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
277
+ - lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
278
+ - lib/active_merchant/billing/gateways/payflow/payflow_response.rb
279
+ - lib/active_merchant/billing/gateways/payflow_express.rb
280
+ - lib/active_merchant/billing/gateways/payflow_express_uk.rb
281
+ - lib/active_merchant/billing/gateways/payflow_uk.rb
282
+ - lib/active_merchant/billing/gateways/payment_express.rb
283
+ - lib/active_merchant/billing/gateways/paymill.rb
284
+ - lib/active_merchant/billing/gateways/paypal.rb
285
+ - lib/active_merchant/billing/gateways/paypal/paypal_common_api.rb
286
+ - lib/active_merchant/billing/gateways/paypal/paypal_express_response.rb
287
+ - lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb
288
+ - lib/active_merchant/billing/gateways/paypal_ca.rb
289
+ - lib/active_merchant/billing/gateways/paypal_digital_goods.rb
290
+ - lib/active_merchant/billing/gateways/paypal_express.rb
291
+ - lib/active_merchant/billing/gateways/paypal_express_common.rb
292
+ - lib/active_merchant/billing/gateways/payscout.rb
293
+ - lib/active_merchant/billing/gateways/paystation.rb
294
+ - lib/active_merchant/billing/gateways/payu_in.rb
295
+ - lib/active_merchant/billing/gateways/payway.rb
296
+ - lib/active_merchant/billing/gateways/pin.rb
297
+ - lib/active_merchant/billing/gateways/plugnpay.rb
298
+ - lib/active_merchant/billing/gateways/psigate.rb
299
+ - lib/active_merchant/billing/gateways/psl_card.rb
300
+ - lib/active_merchant/billing/gateways/qbms.rb
301
+ - lib/active_merchant/billing/gateways/quantum.rb
302
+ - lib/active_merchant/billing/gateways/quickbooks.rb
303
+ - lib/active_merchant/billing/gateways/quickpay.rb
304
+ - lib/active_merchant/billing/gateways/quickpay/quickpay_common.rb
305
+ - lib/active_merchant/billing/gateways/quickpay/quickpay_v10.rb
306
+ - lib/active_merchant/billing/gateways/quickpay/quickpay_v4to7.rb
307
+ - lib/active_merchant/billing/gateways/qvalent.rb
308
+ - lib/active_merchant/billing/gateways/realex.rb
309
+ - lib/active_merchant/billing/gateways/redsys.rb
310
+ - lib/active_merchant/billing/gateways/s5.rb
311
+ - lib/active_merchant/billing/gateways/sage.rb
312
+ - lib/active_merchant/billing/gateways/sage/sage_bankcard.rb
313
+ - lib/active_merchant/billing/gateways/sage/sage_core.rb
314
+ - lib/active_merchant/billing/gateways/sage/sage_vault.rb
315
+ - lib/active_merchant/billing/gateways/sage/sage_virtual_check.rb
316
+ - lib/active_merchant/billing/gateways/sage_pay.rb
317
+ - lib/active_merchant/billing/gateways/sallie_mae.rb
318
+ - lib/active_merchant/billing/gateways/secure_net.rb
319
+ - lib/active_merchant/billing/gateways/secure_pay.rb
320
+ - lib/active_merchant/billing/gateways/secure_pay_au.rb
321
+ - lib/active_merchant/billing/gateways/secure_pay_tech.rb
322
+ - lib/active_merchant/billing/gateways/skip_jack.rb
323
+ - lib/active_merchant/billing/gateways/smart_ps.rb
324
+ - lib/active_merchant/billing/gateways/so_easy_pay.rb
325
+ - lib/active_merchant/billing/gateways/spreedly_core.rb
326
+ - lib/active_merchant/billing/gateways/stripe.rb
327
+ - lib/active_merchant/billing/gateways/swipe_checkout.rb
328
+ - lib/active_merchant/billing/gateways/tns.rb
329
+ - lib/active_merchant/billing/gateways/trans_first.rb
330
+ - lib/active_merchant/billing/gateways/transax.rb
331
+ - lib/active_merchant/billing/gateways/transnational.rb
332
+ - lib/active_merchant/billing/gateways/trust_commerce.rb
333
+ - lib/active_merchant/billing/gateways/usa_epay.rb
334
+ - lib/active_merchant/billing/gateways/usa_epay_advanced.rb
335
+ - lib/active_merchant/billing/gateways/usa_epay_transaction.rb
336
+ - lib/active_merchant/billing/gateways/vanco.rb
337
+ - lib/active_merchant/billing/gateways/verifi.rb
338
+ - lib/active_merchant/billing/gateways/viaklix.rb
339
+ - lib/active_merchant/billing/gateways/webpay.rb
340
+ - lib/active_merchant/billing/gateways/wepay.rb
341
+ - lib/active_merchant/billing/gateways/wirecard.rb
342
+ - lib/active_merchant/billing/gateways/worldpay.rb
343
+ - lib/active_merchant/billing/gateways/worldpay_online_payments.rb
344
+ - lib/active_merchant/billing/gateways/worldpay_us.rb
345
+ - lib/active_merchant/billing/model.rb
346
+ - lib/active_merchant/billing/network_tokenization_credit_card.rb
347
+ - lib/active_merchant/billing/payment_token.rb
348
+ - lib/active_merchant/billing/rails.rb
349
+ - lib/active_merchant/billing/response.rb
350
+ - lib/active_merchant/connection.rb
351
+ - lib/active_merchant/country.rb
352
+ - lib/active_merchant/empty.rb
353
+ - lib/active_merchant/errors.rb
354
+ - lib/active_merchant/network_connection_retries.rb
355
+ - lib/active_merchant/post_data.rb
356
+ - lib/active_merchant/posts_data.rb
357
+ - lib/active_merchant/version.rb
358
+ - lib/activemerchant.rb
359
+ - lib/certs/cacert.pem
360
+ - lib/support/gateway_support.rb
361
+ - lib/support/outbound_hosts.rb
362
+ - lib/support/ssl_verify.rb
363
+ homepage: http://activemerchant.org/
364
+ licenses:
365
+ - MIT
366
+ metadata: {}
367
+ post_install_message:
368
+ rdoc_options: []
369
+ require_paths:
370
+ - lib
371
+ required_ruby_version: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - ">="
374
+ - !ruby/object:Gem::Version
375
+ version: '0'
376
+ required_rubygems_version: !ruby/object:Gem::Requirement
377
+ requirements:
378
+ - - ">="
379
+ - !ruby/object:Gem::Version
380
+ version: '0'
381
+ requirements: []
382
+ rubyforge_project: activemerchant
383
+ rubygems_version: 2.4.6
384
+ signing_key:
385
+ specification_version: 4
386
+ summary: Framework and tools for dealing with credit card transactions.
387
+ test_files: []