authorizenet 1.9.5 → 1.9.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/lib/app/helpers/authorize_net_helper.rb +23 -23
  3. data/lib/authorize_net.rb +107 -107
  4. data/lib/authorize_net/addresses/address.rb +25 -25
  5. data/lib/authorize_net/addresses/shipping_address.rb +22 -22
  6. data/lib/authorize_net/aim/response.rb +120 -120
  7. data/lib/authorize_net/aim/transaction.rb +171 -171
  8. data/lib/authorize_net/api/api_transaction.rb +119 -119
  9. data/lib/authorize_net/api/constants.yml +1 -1
  10. data/lib/authorize_net/api/schema.rb +5165 -5153
  11. data/lib/authorize_net/api/transaction.rb +261 -261
  12. data/lib/authorize_net/arb/fields.rb +24 -24
  13. data/lib/authorize_net/arb/paging.rb +29 -29
  14. data/lib/authorize_net/arb/response.rb +26 -26
  15. data/lib/authorize_net/arb/sorting.rb +39 -39
  16. data/lib/authorize_net/arb/subscription.rb +68 -68
  17. data/lib/authorize_net/arb/subscription_detail.rb +10 -10
  18. data/lib/authorize_net/arb/subscription_list_response.rb +36 -36
  19. data/lib/authorize_net/arb/transaction.rb +171 -171
  20. data/lib/authorize_net/authorize_net.rb +154 -154
  21. data/lib/authorize_net/cim/customer_profile.rb +15 -15
  22. data/lib/authorize_net/cim/payment_profile.rb +35 -35
  23. data/lib/authorize_net/cim/response.rb +111 -111
  24. data/lib/authorize_net/cim/transaction.rb +721 -721
  25. data/lib/authorize_net/customer.rb +24 -24
  26. data/lib/authorize_net/email_receipt.rb +20 -20
  27. data/lib/authorize_net/fields.rb +760 -760
  28. data/lib/authorize_net/key_value_response.rb +109 -109
  29. data/lib/authorize_net/key_value_transaction.rb +281 -281
  30. data/lib/authorize_net/line_item.rb +21 -21
  31. data/lib/authorize_net/order.rb +38 -38
  32. data/lib/authorize_net/payment_methods/credit_card.rb +61 -61
  33. data/lib/authorize_net/payment_methods/echeck.rb +70 -70
  34. data/lib/authorize_net/reporting/batch.rb +16 -16
  35. data/lib/authorize_net/reporting/batch_statistics.rb +15 -15
  36. data/lib/authorize_net/reporting/fds_filter.rb +8 -8
  37. data/lib/authorize_net/reporting/response.rb +157 -157
  38. data/lib/authorize_net/reporting/returned_item.rb +45 -45
  39. data/lib/authorize_net/reporting/transaction.rb +131 -131
  40. data/lib/authorize_net/reporting/transaction_details.rb +22 -22
  41. data/lib/authorize_net/response.rb +25 -25
  42. data/lib/authorize_net/sim/hosted_payment_form.rb +34 -34
  43. data/lib/authorize_net/sim/hosted_receipt_page.rb +32 -32
  44. data/lib/authorize_net/sim/response.rb +133 -133
  45. data/lib/authorize_net/sim/transaction.rb +128 -128
  46. data/lib/authorize_net/transaction.rb +66 -66
  47. data/lib/authorize_net/xml_response.rb +154 -154
  48. data/lib/authorize_net/xml_transaction.rb +279 -279
  49. data/lib/authorizenet.rb +4 -4
  50. data/lib/generators/authorize_net/direct_post/direct_post_generator.rb +52 -52
  51. data/lib/generators/authorize_net/direct_post/templates/README-AuthorizeNet +48 -48
  52. data/lib/generators/authorize_net/direct_post/templates/config.yml.erb +8 -8
  53. data/lib/generators/authorize_net/direct_post/templates/config.yml.rails3.erb +8 -8
  54. data/lib/generators/authorize_net/direct_post/templates/controller.rb.erb +30 -30
  55. data/lib/generators/authorize_net/direct_post/templates/initializer.rb +4 -4
  56. data/lib/generators/authorize_net/direct_post/templates/layout.erb +17 -17
  57. data/lib/generators/authorize_net/direct_post/templates/payment.erb +9 -9
  58. data/lib/generators/authorize_net/direct_post/templates/payment.rails3.erb +9 -9
  59. data/lib/generators/authorize_net/sim/sim_generator.rb +46 -46
  60. data/lib/generators/authorize_net/sim/templates/README-AuthorizeNet +51 -51
  61. data/lib/generators/authorize_net/sim/templates/config.yml.erb +8 -8
  62. data/lib/generators/authorize_net/sim/templates/config.yml.rails3.erb +8 -8
  63. data/lib/generators/authorize_net/sim/templates/controller.rb.erb +20 -20
  64. data/lib/generators/authorize_net/sim/templates/initializer.rb +4 -4
  65. data/lib/generators/authorize_net/sim/templates/layout.erb +17 -17
  66. data/lib/generators/authorize_net/sim/templates/payment.erb +5 -5
  67. data/lib/generators/authorize_net/sim/templates/payment.rails3.erb +5 -5
  68. data/lib/generators/generator_extensions.rb +73 -73
  69. metadata +84 -102
@@ -1,52 +1,52 @@
1
- = Authorize.Net Ruby SDK
2
-
3
- The Authorize.Net Ruby SDK is meant to offer an alternate object-oriented
4
- model of development with the Authorize.net APIs (Version 3.1). The SDK is
5
- based entirely off the name-value pair API, but performs the core payment
6
- activities (such as error handling/parsing, network communication, and data
7
- encoding) behind the scenes. Providing the end developer with this allows the
8
- developer to start integrating immediately without having to write out a mass
9
- of boiler plate code.
10
-
11
- == Prerequisites
12
-
13
- * Ruby 1.8.7 or higher
14
- * RubyGem 1.3.7 or higher (to build the gem)
15
- * RDoc 1.0 or higher (to build documentation)
16
- * Rake 0.8.7 or higher (to use the rake tasks)
17
-
18
- == Installation
19
-
20
- Goto the Authorize.Net SDK download page and download the Ruby gem. Then
21
-
22
- > gem install authorize-net-1.0.0.gem
23
-
24
- == Usage
25
-
26
- === Server Integration Method (SIM)
27
-
28
- A generator is provided to aid in setting up a Server Integration Method application. In the example below 'payments' is the name of the controller to generate.
29
-
30
- > sudo gem install rails -v '~> 2.1'
31
- > rails my_sim_app
32
- > cd my_sim_app
33
- > script/generate authorize_net_sim payments YOUR_API_LOGIN_ID YOUR_TRANSACTION_KEY MERCH_HASH_KEY
34
- > script/server
35
-
36
- After running the generator you will probably want to customize the payment page found in 'app/views/payments/payment.erb' and the thank you page found in 'app/views/payments/thank_you.erb'.
37
-
38
- You may also want to customize the actual payment form and receipt pages. That can be done by making the necessary changes to the AuthorizeNet::SIM::Transaction object ('@sim_transaction') found in the +payment+ action in 'app/controllers/payments_controller.rb'. The styling of those hosted pages are controlled by the AuthorizeNet::SIM::HostedReceiptPage and AuthorizeNet::SIM::HostedPaymentForm objects (which are passed to the AuthorizeNet::SIM::Transaction).
39
-
40
- There is also a default layout generated, 'app/views/layouts/authorize_net.erb'. If you already have your own layout, you can delete that file and the reference to it in the controller ('app/controllers/payments_controller.rb').
41
-
42
- == Credit Card Test Numbers
43
-
44
- For your reference, you can use the following test credit card numbers.
45
- The expiration date must be set to the present date or later. Use 123 for
46
- the CCV code.
47
-
48
- American Express:: 370000000000002
49
- Discover:: 6011000000000012
50
- Visa:: 4007000000027
51
- JCB:: 3088000000000017
1
+ = Authorize.Net Ruby SDK
2
+
3
+ The Authorize.Net Ruby SDK is meant to offer an alternate object-oriented
4
+ model of development with the Authorize.net APIs (Version 3.1). The SDK is
5
+ based entirely off the name-value pair API, but performs the core payment
6
+ activities (such as error handling/parsing, network communication, and data
7
+ encoding) behind the scenes. Providing the end developer with this allows the
8
+ developer to start integrating immediately without having to write out a mass
9
+ of boiler plate code.
10
+
11
+ == Prerequisites
12
+
13
+ * Ruby 1.8.7 or higher
14
+ * RubyGem 1.3.7 or higher (to build the gem)
15
+ * RDoc 1.0 or higher (to build documentation)
16
+ * Rake 0.8.7 or higher (to use the rake tasks)
17
+
18
+ == Installation
19
+
20
+ Goto the Authorize.Net SDK download page and download the Ruby gem. Then
21
+
22
+ > gem install authorize-net-1.0.0.gem
23
+
24
+ == Usage
25
+
26
+ === Server Integration Method (SIM)
27
+
28
+ A generator is provided to aid in setting up a Server Integration Method application. In the example below 'payments' is the name of the controller to generate.
29
+
30
+ > sudo gem install rails -v '~> 2.1'
31
+ > rails my_sim_app
32
+ > cd my_sim_app
33
+ > script/generate authorize_net_sim payments YOUR_API_LOGIN_ID YOUR_TRANSACTION_KEY MERCH_HASH_KEY
34
+ > script/server
35
+
36
+ After running the generator you will probably want to customize the payment page found in 'app/views/payments/payment.erb' and the thank you page found in 'app/views/payments/thank_you.erb'.
37
+
38
+ You may also want to customize the actual payment form and receipt pages. That can be done by making the necessary changes to the AuthorizeNet::SIM::Transaction object ('@sim_transaction') found in the +payment+ action in 'app/controllers/payments_controller.rb'. The styling of those hosted pages are controlled by the AuthorizeNet::SIM::HostedReceiptPage and AuthorizeNet::SIM::HostedPaymentForm objects (which are passed to the AuthorizeNet::SIM::Transaction).
39
+
40
+ There is also a default layout generated, 'app/views/layouts/authorize_net.erb'. If you already have your own layout, you can delete that file and the reference to it in the controller ('app/controllers/payments_controller.rb').
41
+
42
+ == Credit Card Test Numbers
43
+
44
+ For your reference, you can use the following test credit card numbers.
45
+ The expiration date must be set to the present date or later. Use 123 for
46
+ the CCV code.
47
+
48
+ American Express:: 370000000000002
49
+ Discover:: 6011000000000012
50
+ Visa:: 4007000000027
51
+ JCB:: 3088000000000017
52
52
  Diners Club/ Carte Blanche:: 38000000000006
@@ -1,8 +1,8 @@
1
- default:
2
- api_login_id: <%= args[0] %>
3
- api_transaction_key: <%= args[1] %>
4
- merchant_hash_value: <%= args[2] %>
5
-
6
- development:
7
- test:
8
- production:
1
+ default:
2
+ api_login_id: <%= args[0] %>
3
+ api_transaction_key: <%= args[1] %>
4
+ merchant_hash_value: <%= args[2] %>
5
+
6
+ development:
7
+ test:
8
+ production:
@@ -1,8 +1,8 @@
1
- default:
2
- api_login_id: <%= self.api_login_id %>
3
- api_transaction_key: <%= self.api_transaction_key %>
4
- merchant_hash_value: <%= self.merchant_hash_value %>
5
-
6
- development:
7
- test:
8
- production:
1
+ default:
2
+ api_login_id: <%= self.api_login_id %>
3
+ api_transaction_key: <%= self.api_transaction_key %>
4
+ merchant_hash_value: <%= self.merchant_hash_value %>
5
+
6
+ development:
7
+ test:
8
+ production:
@@ -1,21 +1,21 @@
1
- class <%= class_name %>Controller < ApplicationController
2
-
3
- layout 'authorize_net'
4
- helper :authorize_net
5
- protect_from_forgery :except => :relay_response
6
-
7
- # GET
8
- # Displays a payment form.
9
- def payment
10
- @amount = 10.00
11
- @sim_transaction = AuthorizeNet::SIM::Transaction.new(AUTHORIZE_NET_CONFIG['api_login_id'], AUTHORIZE_NET_CONFIG['api_transaction_key'], @amount, :hosted_payment_form => true)
12
- @sim_transaction.set_hosted_payment_receipt(AuthorizeNet::SIM::HostedReceiptPage.new(:link_method => AuthorizeNet::SIM::HostedReceiptPage::LinkMethod::GET, :link_text => 'Continue', :link_url => <%= singular_name %>_thank_you_url(:only_path => false)))
13
- end
14
-
15
- # GET
16
- # Displays a thank you page.
17
- def thank_you
18
- @auth_code = params[:x_auth_code]
19
- end
20
-
1
+ class <%= class_name %>Controller < ApplicationController
2
+
3
+ layout 'authorize_net'
4
+ helper :authorize_net
5
+ protect_from_forgery :except => :relay_response
6
+
7
+ # GET
8
+ # Displays a payment form.
9
+ def payment
10
+ @amount = 10.00
11
+ @sim_transaction = AuthorizeNet::SIM::Transaction.new(AUTHORIZE_NET_CONFIG['api_login_id'], AUTHORIZE_NET_CONFIG['api_transaction_key'], @amount, :hosted_payment_form => true)
12
+ @sim_transaction.set_hosted_payment_receipt(AuthorizeNet::SIM::HostedReceiptPage.new(:link_method => AuthorizeNet::SIM::HostedReceiptPage::LinkMethod::GET, :link_text => 'Continue', :link_url => <%= singular_name %>_thank_you_url(:only_path => false)))
13
+ end
14
+
15
+ # GET
16
+ # Displays a thank you page.
17
+ def thank_you
18
+ @auth_code = params[:x_auth_code]
19
+ end
20
+
21
21
  end
@@ -1,4 +1,4 @@
1
- yml = YAML.load_file("#{Rails.root}/config/authorize_net.yml")
2
- AUTHORIZE_NET_CONFIG = yml['default']
3
- AUTHORIZE_NET_CONFIG.merge!(yml[Rails.env]) unless yml[Rails.env].nil?
4
- AUTHORIZE_NET_CONFIG.freeze
1
+ yml = YAML.load_file("#{Rails.root}/config/authorize_net.yml")
2
+ AUTHORIZE_NET_CONFIG = yml['default']
3
+ AUTHORIZE_NET_CONFIG.merge!(yml[Rails.env]) unless yml[Rails.env].nil?
4
+ AUTHORIZE_NET_CONFIG.freeze
@@ -1,18 +1,18 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>SIM Sample App</title>
5
- <style>
6
- body {
7
- text-align: center;
8
- font-family: Helvetica;
9
- }
10
- label {
11
- display: block;
12
- }
13
- </style>
14
- </head>
15
- <body>
16
- <%= yield %>
17
- </body>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>SIM Sample App</title>
5
+ <style>
6
+ body {
7
+ text-align: center;
8
+ font-family: Helvetica;
9
+ }
10
+ label {
11
+ display: block;
12
+ }
13
+ </style>
14
+ </head>
15
+ <body>
16
+ <%= yield %>
17
+ </body>
18
18
  </html>
@@ -1,6 +1,6 @@
1
- <% form_for :sim_transaction, :url => AuthorizeNet::SIM::Transaction::Gateway::TEST do |f| %>
2
- <%= sim_fields(@sim_transaction) %>
3
- <%= label_tag 'x_amount', "Total: #{number_to_currency(@amount)}" %>
4
- <br />
5
- <%= f.submit 'Purchase'%>
1
+ <% form_for :sim_transaction, :url => AuthorizeNet::SIM::Transaction::Gateway::TEST do |f| %>
2
+ <%= sim_fields(@sim_transaction) %>
3
+ <%= label_tag 'x_amount', "Total: #{number_to_currency(@amount)}" %>
4
+ <br />
5
+ <%= f.submit 'Purchase'%>
6
6
  <% end %>
@@ -1,6 +1,6 @@
1
- <%= form_for :sim_transaction, :url => AuthorizeNet::SIM::Transaction::Gateway::TEST do |f| %>
2
- <%= sim_fields(@sim_transaction) %>
3
- <%= label_tag 'x_amount', "Total: #{number_to_currency(@amount)}" %>
4
- <br />
5
- <%= f.submit 'Purchase'%>
1
+ <%= form_for :sim_transaction, :url => AuthorizeNet::SIM::Transaction::Gateway::TEST do |f| %>
2
+ <%= sim_fields(@sim_transaction) %>
3
+ <%= label_tag 'x_amount', "Total: #{number_to_currency(@amount)}" %>
4
+ <br />
5
+ <%= f.submit 'Purchase'%>
6
6
  <% end %>
@@ -1,73 +1,73 @@
1
- # Extends the Rails::Generator::Commands classes to add support for route and gem configuration generation.
2
-
3
- module Rails
4
- module Generator
5
- module Commands
6
- class Base
7
- def route_code(route_options)
8
- route_options[:path] = route_options[:name] unless route_options.key? :path
9
- code = "map.#{route_options[:name]} '#{route_options[:path]}', :controller => '#{route_options[:controller]}', :action => '#{route_options[:action]}'"
10
- code += ", :conditions => #{route_options[:conditions]}" if route_options.key? :conditions
11
- end
12
-
13
- def gsub_file_check(relative_destination, regexp, *_args)
14
- path = destination_path(relative_destination)
15
- content = File.read(path)
16
- !(content =~ regexp).nil?
17
- end
18
-
19
- def gem_code(gem_options)
20
- gem_options[:lib] = gem_options[:name] unless gem_options.key? :lib
21
- code = "config.gem '#{gem_options[:name]}', :lib => '#{gem_options[:lib]}'"
22
- end
23
- end
24
-
25
- # Here's a readable version of the long string used above in route_code;
26
- # but it should be kept on one line to avoid inserting extra whitespace
27
- # into routes.rb when the generator is run:
28
- # "map.#{route_options[:name]} '#{route_options[:name]}',
29
- # :controller => '#{route_options[:controller]}',
30
- # :action => '#{route_options[:action]}'"
31
-
32
- class Create
33
- def route(route_options)
34
- sentinel = 'ActionController::Routing::Routes.draw do |map|'
35
- if gsub_file_check 'config/routes.rb', /(#{Regexp.escape(route_code(route_options))})/mi
36
- logger.identical route_code(route_options)
37
- else
38
- logger.route route_code(route_options)
39
- gsub_file 'config/routes.rb', /(#{Regexp.escape(sentinel)})/mi do |m|
40
- "#{m}\n #{route_code(route_options)}"
41
- end
42
- end
43
- end
44
-
45
- def gem(gem_options)
46
- sentinel = 'Rails::Initializer.run do |config|'
47
- if gsub_file_check 'config/environment.rb', /(#{Regexp.escape(gem_code(gem_options))})/mi
48
- logger.identical gem_code(gem_options)
49
- else
50
- logger.gem gem_code(gem_options)
51
- gsub_file 'config/environment.rb', /(#{Regexp.escape(sentinel)})/mi do |m|
52
- "#{m}\n #{gem_code(gem_options)}"
53
- end
54
- end
55
- end
56
- end
57
-
58
- class Destroy
59
- def route(route_options)
60
- logger.remove_route route_code(route_options)
61
- to_remove = "\n #{Regexp.escape(route_code(route_options))}"
62
- gsub_file 'config/routes.rb', /(#{to_remove})/mi, ''
63
- end
64
-
65
- def gem(gem_options)
66
- logger.remove_gem gem_code(gem_options)
67
- to_remove = "\n #{Regexp.escape(gem_code(gem_options))}"
68
- gsub_file 'config/environment.rb', /(#{to_remove})/mi, ''
69
- end
70
- end
71
- end
72
- end
73
- end
1
+ # Extends the Rails::Generator::Commands classes to add support for route and gem configuration generation.
2
+
3
+ module Rails
4
+ module Generator
5
+ module Commands
6
+ class Base
7
+ def route_code(route_options)
8
+ route_options[:path] = route_options[:name] unless route_options.key? :path
9
+ code = "map.#{route_options[:name]} '#{route_options[:path]}', :controller => '#{route_options[:controller]}', :action => '#{route_options[:action]}'"
10
+ code += ", :conditions => #{route_options[:conditions]}" if route_options.key? :conditions
11
+ end
12
+
13
+ def gsub_file_check(relative_destination, regexp, *_args)
14
+ path = destination_path(relative_destination)
15
+ content = File.read(path)
16
+ !(content =~ regexp).nil?
17
+ end
18
+
19
+ def gem_code(gem_options)
20
+ gem_options[:lib] = gem_options[:name] unless gem_options.key? :lib
21
+ code = "config.gem '#{gem_options[:name]}', :lib => '#{gem_options[:lib]}'"
22
+ end
23
+ end
24
+
25
+ # Here's a readable version of the long string used above in route_code;
26
+ # but it should be kept on one line to avoid inserting extra whitespace
27
+ # into routes.rb when the generator is run:
28
+ # "map.#{route_options[:name]} '#{route_options[:name]}',
29
+ # :controller => '#{route_options[:controller]}',
30
+ # :action => '#{route_options[:action]}'"
31
+
32
+ class Create
33
+ def route(route_options)
34
+ sentinel = 'ActionController::Routing::Routes.draw do |map|'
35
+ if gsub_file_check 'config/routes.rb', /(#{Regexp.escape(route_code(route_options))})/mi
36
+ logger.identical route_code(route_options)
37
+ else
38
+ logger.route route_code(route_options)
39
+ gsub_file 'config/routes.rb', /(#{Regexp.escape(sentinel)})/mi do |m|
40
+ "#{m}\n #{route_code(route_options)}"
41
+ end
42
+ end
43
+ end
44
+
45
+ def gem(gem_options)
46
+ sentinel = 'Rails::Initializer.run do |config|'
47
+ if gsub_file_check 'config/environment.rb', /(#{Regexp.escape(gem_code(gem_options))})/mi
48
+ logger.identical gem_code(gem_options)
49
+ else
50
+ logger.gem gem_code(gem_options)
51
+ gsub_file 'config/environment.rb', /(#{Regexp.escape(sentinel)})/mi do |m|
52
+ "#{m}\n #{gem_code(gem_options)}"
53
+ end
54
+ end
55
+ end
56
+ end
57
+
58
+ class Destroy
59
+ def route(route_options)
60
+ logger.remove_route route_code(route_options)
61
+ to_remove = "\n #{Regexp.escape(route_code(route_options))}"
62
+ gsub_file 'config/routes.rb', /(#{to_remove})/mi, ''
63
+ end
64
+
65
+ def gem(gem_options)
66
+ logger.remove_gem gem_code(gem_options)
67
+ to_remove = "\n #{Regexp.escape(gem_code(gem_options))}"
68
+ gsub_file 'config/environment.rb', /(#{to_remove})/mi, ''
69
+ end
70
+ end
71
+ end
72
+ end
73
+ end
metadata CHANGED
@@ -1,154 +1,137 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: authorizenet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.5
5
- prerelease:
4
+ version: 1.9.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Authorize.Net
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2018-06-15 00:00:00.000000000 Z
11
+ date: 2018-10-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 4.2.6
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 4.2.6
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: nokogiri
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: '1.6'
38
- - - ! '>='
34
+ - - ">="
39
35
  - !ruby/object:Gem::Version
40
36
  version: 1.6.4
41
37
  type: :runtime
42
38
  prerelease: false
43
39
  version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
40
  requirements:
46
- - - ~>
41
+ - - "~>"
47
42
  - !ruby/object:Gem::Version
48
43
  version: '1.6'
49
- - - ! '>='
44
+ - - ">="
50
45
  - !ruby/object:Gem::Version
51
46
  version: 1.6.4
52
47
  - !ruby/object:Gem::Dependency
53
48
  name: roxml
54
49
  requirement: !ruby/object:Gem::Requirement
55
- none: false
56
50
  requirements:
57
- - - ! '>='
51
+ - - ">="
58
52
  - !ruby/object:Gem::Version
59
53
  version: 3.3.1
60
54
  type: :runtime
61
55
  prerelease: false
62
56
  version_requirements: !ruby/object:Gem::Requirement
63
- none: false
64
57
  requirements:
65
- - - ! '>='
58
+ - - ">="
66
59
  - !ruby/object:Gem::Version
67
60
  version: 3.3.1
68
61
  - !ruby/object:Gem::Dependency
69
62
  name: appraisal
70
63
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
64
  requirements:
73
- - - ! '>='
65
+ - - ">="
74
66
  - !ruby/object:Gem::Version
75
67
  version: '0'
76
68
  type: :development
77
69
  prerelease: false
78
70
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
71
  requirements:
81
- - - ! '>='
72
+ - - ">="
82
73
  - !ruby/object:Gem::Version
83
74
  version: '0'
84
75
  - !ruby/object:Gem::Dependency
85
76
  name: rake
86
77
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
78
  requirements:
89
- - - ~>
79
+ - - "~>"
90
80
  - !ruby/object:Gem::Version
91
81
  version: '0.8'
92
- - - ! '>='
82
+ - - ">="
93
83
  - !ruby/object:Gem::Version
94
84
  version: 0.8.7
95
85
  type: :development
96
86
  prerelease: false
97
87
  version_requirements: !ruby/object:Gem::Requirement
98
- none: false
99
88
  requirements:
100
- - - ~>
89
+ - - "~>"
101
90
  - !ruby/object:Gem::Version
102
91
  version: '0.8'
103
- - - ! '>='
92
+ - - ">="
104
93
  - !ruby/object:Gem::Version
105
94
  version: 0.8.7
106
95
  - !ruby/object:Gem::Dependency
107
96
  name: rspec
108
97
  requirement: !ruby/object:Gem::Requirement
109
- none: false
110
98
  requirements:
111
- - - ~>
99
+ - - "~>"
112
100
  - !ruby/object:Gem::Version
113
101
  version: '2.1'
114
102
  type: :development
115
103
  prerelease: false
116
104
  version_requirements: !ruby/object:Gem::Requirement
117
- none: false
118
105
  requirements:
119
- - - ~>
106
+ - - "~>"
120
107
  - !ruby/object:Gem::Version
121
108
  version: '2.1'
122
109
  - !ruby/object:Gem::Dependency
123
110
  name: simplecov
124
111
  requirement: !ruby/object:Gem::Requirement
125
- none: false
126
112
  requirements:
127
- - - ! '>='
113
+ - - ">="
128
114
  - !ruby/object:Gem::Version
129
115
  version: '0'
130
116
  type: :development
131
117
  prerelease: false
132
118
  version_requirements: !ruby/object:Gem::Requirement
133
- none: false
134
119
  requirements:
135
- - - ! '>='
120
+ - - ">="
136
121
  - !ruby/object:Gem::Version
137
122
  version: '0'
138
123
  - !ruby/object:Gem::Dependency
139
124
  name: scrutinizer-ocular
140
125
  requirement: !ruby/object:Gem::Requirement
141
- none: false
142
126
  requirements:
143
- - - ! '>='
127
+ - - ">="
144
128
  - !ruby/object:Gem::Version
145
129
  version: '0'
146
130
  type: :development
147
131
  prerelease: false
148
132
  version_requirements: !ruby/object:Gem::Requirement
149
- none: false
150
133
  requirements:
151
- - - ! '>='
134
+ - - ">="
152
135
  - !ruby/object:Gem::Version
153
136
  version: '0'
154
137
  description: Authorize.Net SDK includes standard payments, recurring billing, and
@@ -158,99 +141,98 @@ executables: []
158
141
  extensions: []
159
142
  extra_rdoc_files: []
160
143
  files:
161
- - lib/authorize_net.rb
162
144
  - lib/app/helpers/authorize_net_helper.rb
163
- - lib/generators/generator_extensions.rb
164
- - lib/generators/authorize_net/direct_post/templates/README-AuthorizeNet
165
- - lib/generators/authorize_net/direct_post/templates/controller.rb.erb
166
- - lib/generators/authorize_net/direct_post/templates/config.yml.erb
167
- - lib/generators/authorize_net/direct_post/templates/receipt.erb
168
- - lib/generators/authorize_net/direct_post/templates/config.yml.rails3.erb
169
- - lib/generators/authorize_net/direct_post/templates/payment.rails3.erb
170
- - lib/generators/authorize_net/direct_post/templates/initializer.rb
171
- - lib/generators/authorize_net/direct_post/templates/relay_response.erb
172
- - lib/generators/authorize_net/direct_post/templates/payment.erb
173
- - lib/generators/authorize_net/direct_post/templates/layout.erb
174
- - lib/generators/authorize_net/direct_post/direct_post_generator.rb
175
- - lib/generators/authorize_net/sim/sim_generator.rb
176
- - lib/generators/authorize_net/sim/templates/README-AuthorizeNet
177
- - lib/generators/authorize_net/sim/templates/controller.rb.erb
178
- - lib/generators/authorize_net/sim/templates/thank_you.erb
179
- - lib/generators/authorize_net/sim/templates/config.yml.erb
180
- - lib/generators/authorize_net/sim/templates/config.yml.rails3.erb
181
- - lib/generators/authorize_net/sim/templates/payment.rails3.erb
182
- - lib/generators/authorize_net/sim/templates/initializer.rb
183
- - lib/generators/authorize_net/sim/templates/payment.erb
184
- - lib/generators/authorize_net/sim/templates/layout.erb
185
- - lib/authorizenet.rb
186
- - lib/authorize_net/fields.rb
187
- - lib/authorize_net/xml_transaction.rb
188
- - lib/authorize_net/cim/customer_profile.rb
189
- - lib/authorize_net/cim/payment_profile.rb
190
- - lib/authorize_net/cim/response.rb
191
- - lib/authorize_net/cim/transaction.rb
145
+ - lib/authorize_net.rb
146
+ - lib/authorize_net/addresses/address.rb
147
+ - lib/authorize_net/addresses/shipping_address.rb
192
148
  - lib/authorize_net/aim/response.rb
193
149
  - lib/authorize_net/aim/transaction.rb
194
- - lib/authorize_net/line_item.rb
195
- - lib/authorize_net/addresses/shipping_address.rb
196
- - lib/authorize_net/addresses/address.rb
197
- - lib/authorize_net/authorize_net.rb
198
- - lib/authorize_net/email_receipt.rb
199
- - lib/authorize_net/order.rb
200
- - lib/authorize_net/arb/subscription_list_response.rb
150
+ - lib/authorize_net/api/api_transaction.rb
151
+ - lib/authorize_net/api/constants.yml
152
+ - lib/authorize_net/api/schema.rb
153
+ - lib/authorize_net/api/transaction.rb
201
154
  - lib/authorize_net/arb/fields.rb
202
- - lib/authorize_net/arb/sorting.rb
203
- - lib/authorize_net/arb/response.rb
204
- - lib/authorize_net/arb/transaction.rb
205
- - lib/authorize_net/arb/subscription_detail.rb
206
155
  - lib/authorize_net/arb/paging.rb
156
+ - lib/authorize_net/arb/response.rb
157
+ - lib/authorize_net/arb/sorting.rb
207
158
  - lib/authorize_net/arb/subscription.rb
159
+ - lib/authorize_net/arb/subscription_detail.rb
160
+ - lib/authorize_net/arb/subscription_list_response.rb
161
+ - lib/authorize_net/arb/transaction.rb
162
+ - lib/authorize_net/authorize_net.rb
163
+ - lib/authorize_net/cim/customer_profile.rb
164
+ - lib/authorize_net/cim/payment_profile.rb
165
+ - lib/authorize_net/cim/response.rb
166
+ - lib/authorize_net/cim/transaction.rb
167
+ - lib/authorize_net/customer.rb
168
+ - lib/authorize_net/email_receipt.rb
169
+ - lib/authorize_net/fields.rb
170
+ - lib/authorize_net/key_value_response.rb
208
171
  - lib/authorize_net/key_value_transaction.rb
209
- - lib/authorize_net/response.rb
210
- - lib/authorize_net/transaction.rb
211
- - lib/authorize_net/api/schema.rb
212
- - lib/authorize_net/api/api_transaction.rb
213
- - lib/authorize_net/api/constants.yml
214
- - lib/authorize_net/api/transaction.rb
172
+ - lib/authorize_net/line_item.rb
173
+ - lib/authorize_net/order.rb
215
174
  - lib/authorize_net/payment_methods/credit_card.rb
216
175
  - lib/authorize_net/payment_methods/echeck.rb
217
- - lib/authorize_net/customer.rb
218
- - lib/authorize_net/sim/hosted_payment_form.rb
219
- - lib/authorize_net/sim/response.rb
220
- - lib/authorize_net/sim/transaction.rb
221
- - lib/authorize_net/sim/hosted_receipt_page.rb
222
- - lib/authorize_net/key_value_response.rb
223
- - lib/authorize_net/reporting/batch_statistics.rb
224
- - lib/authorize_net/reporting/transaction_details.rb
225
176
  - lib/authorize_net/reporting/batch.rb
226
- - lib/authorize_net/reporting/returned_item.rb
177
+ - lib/authorize_net/reporting/batch_statistics.rb
178
+ - lib/authorize_net/reporting/fds_filter.rb
227
179
  - lib/authorize_net/reporting/response.rb
180
+ - lib/authorize_net/reporting/returned_item.rb
228
181
  - lib/authorize_net/reporting/transaction.rb
229
- - lib/authorize_net/reporting/fds_filter.rb
182
+ - lib/authorize_net/reporting/transaction_details.rb
183
+ - lib/authorize_net/response.rb
184
+ - lib/authorize_net/sim/hosted_payment_form.rb
185
+ - lib/authorize_net/sim/hosted_receipt_page.rb
186
+ - lib/authorize_net/sim/response.rb
187
+ - lib/authorize_net/sim/transaction.rb
188
+ - lib/authorize_net/transaction.rb
230
189
  - lib/authorize_net/xml_response.rb
190
+ - lib/authorize_net/xml_transaction.rb
191
+ - lib/authorizenet.rb
192
+ - lib/generators/authorize_net/direct_post/direct_post_generator.rb
193
+ - lib/generators/authorize_net/direct_post/templates/README-AuthorizeNet
194
+ - lib/generators/authorize_net/direct_post/templates/config.yml.erb
195
+ - lib/generators/authorize_net/direct_post/templates/config.yml.rails3.erb
196
+ - lib/generators/authorize_net/direct_post/templates/controller.rb.erb
197
+ - lib/generators/authorize_net/direct_post/templates/initializer.rb
198
+ - lib/generators/authorize_net/direct_post/templates/layout.erb
199
+ - lib/generators/authorize_net/direct_post/templates/payment.erb
200
+ - lib/generators/authorize_net/direct_post/templates/payment.rails3.erb
201
+ - lib/generators/authorize_net/direct_post/templates/receipt.erb
202
+ - lib/generators/authorize_net/direct_post/templates/relay_response.erb
203
+ - lib/generators/authorize_net/sim/sim_generator.rb
204
+ - lib/generators/authorize_net/sim/templates/README-AuthorizeNet
205
+ - lib/generators/authorize_net/sim/templates/config.yml.erb
206
+ - lib/generators/authorize_net/sim/templates/config.yml.rails3.erb
207
+ - lib/generators/authorize_net/sim/templates/controller.rb.erb
208
+ - lib/generators/authorize_net/sim/templates/initializer.rb
209
+ - lib/generators/authorize_net/sim/templates/layout.erb
210
+ - lib/generators/authorize_net/sim/templates/payment.erb
211
+ - lib/generators/authorize_net/sim/templates/payment.rails3.erb
212
+ - lib/generators/authorize_net/sim/templates/thank_you.erb
213
+ - lib/generators/generator_extensions.rb
231
214
  homepage: https://github.com/AuthorizeNet/sdk-ruby
232
215
  licenses:
233
216
  - https://github.com/AuthorizeNet/sdk-ruby/blob/master/LICENSE.txt
217
+ metadata: {}
234
218
  post_install_message:
235
219
  rdoc_options: []
236
220
  require_paths:
237
221
  - lib
238
222
  required_ruby_version: !ruby/object:Gem::Requirement
239
- none: false
240
223
  requirements:
241
- - - ! '>='
224
+ - - ">="
242
225
  - !ruby/object:Gem::Version
243
226
  version: 2.2.2
244
227
  required_rubygems_version: !ruby/object:Gem::Requirement
245
- none: false
246
228
  requirements:
247
- - - ! '>='
229
+ - - ">="
248
230
  - !ruby/object:Gem::Version
249
231
  version: 1.3.6
250
232
  requirements: []
251
233
  rubyforge_project:
252
- rubygems_version: 1.8.23
234
+ rubygems_version: 2.5.2.3
253
235
  signing_key:
254
- specification_version: 3
236
+ specification_version: 4
255
237
  summary: Authorize.Net Payments SDK
256
238
  test_files: []