authorizenet 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/authorize_net.rb +5 -0
- data/lib/authorize_net.rb~ +95 -0
- data/lib/authorize_net/aim/response.rb~ +131 -0
- data/lib/authorize_net/arb/fields.rb +24 -0
- data/lib/authorize_net/arb/fields.rb~ +13 -0
- data/lib/authorize_net/arb/paging.rb +33 -0
- data/lib/authorize_net/arb/paging.rb~ +25 -0
- data/lib/authorize_net/arb/response.rb~ +68 -0
- data/lib/authorize_net/arb/sorting.rb +43 -0
- data/lib/authorize_net/arb/sorting.rb~ +43 -0
- data/lib/authorize_net/arb/subscription.rb +5 -5
- data/lib/authorize_net/arb/subscription_detail.rb +14 -0
- data/lib/authorize_net/arb/subscription_detail.rb~ +56 -0
- data/lib/authorize_net/arb/subscription_list_response.rb +43 -0
- data/lib/authorize_net/arb/subscription_list_response.rb~ +45 -0
- data/lib/authorize_net/arb/transaction.rb +35 -4
- data/lib/authorize_net/arb/transaction.rb~ +176 -0
- data/lib/authorize_net/fields.rb +21 -3
- data/lib/authorize_net/fields.rb~ +767 -0
- data/lib/authorize_net/key_value_transaction.rb +0 -2
- data/lib/authorize_net/payment_methods/credit_card.rb +20 -32
- data/lib/authorize_net/xml_response.rb~ +173 -0
- data/lib/authorize_net/xml_transaction.rb +5 -5
- data/lib/authorize_net/xml_transaction.rb~ +276 -0
- data/lib/generators/authorize_net/{direct_post_generator.rb → direct_post/direct_post_generator.rb} +4 -2
- data/lib/generators/authorize_net/direct_post/templates/README-AuthorizeNet +49 -0
- data/lib/generators/authorize_net/direct_post/templates/config.yml.erb +8 -0
- data/lib/generators/authorize_net/direct_post/templates/config.yml.rails3.erb +8 -0
- data/lib/generators/authorize_net/direct_post/templates/controller.rb.erb +31 -0
- data/lib/generators/authorize_net/direct_post/templates/initializer.rb +4 -0
- data/lib/generators/authorize_net/direct_post/templates/layout.erb +18 -0
- data/lib/generators/authorize_net/direct_post/templates/payment.erb +10 -0
- data/lib/generators/authorize_net/direct_post/templates/payment.rails3.erb +10 -0
- data/lib/generators/authorize_net/direct_post/templates/receipt.erb +1 -0
- data/lib/generators/authorize_net/direct_post/templates/relay_response.erb +1 -0
- data/lib/generators/authorize_net/{sim_generator.rb → sim/sim_generator.rb} +2 -2
- data/lib/generators/authorize_net/sim/templates/README-AuthorizeNet +52 -0
- data/lib/generators/authorize_net/sim/templates/config.yml.erb +8 -0
- data/lib/generators/authorize_net/sim/templates/config.yml.rails3.erb +8 -0
- data/lib/generators/authorize_net/sim/templates/controller.rb.erb +21 -0
- data/lib/generators/authorize_net/sim/templates/initializer.rb +4 -0
- data/lib/generators/authorize_net/sim/templates/layout.erb +18 -0
- data/lib/generators/authorize_net/sim/templates/payment.erb +6 -0
- data/lib/generators/authorize_net/sim/templates/payment.rails3.erb +6 -0
- data/lib/generators/authorize_net/sim/templates/thank_you.erb +1 -0
- data/lib/generators/generator_extensions.rb +75 -0
- metadata +41 -10
data/lib/generators/authorize_net/{direct_post_generator.rb → direct_post/direct_post_generator.rb}
RENAMED
@@ -4,7 +4,9 @@ require 'rails/generators/named_base'
|
|
4
4
|
module AuthorizeNet
|
5
5
|
module Generators
|
6
6
|
class DirectPostGenerator < Rails::Generators::NamedBase
|
7
|
-
source_root File.expand_path("
|
7
|
+
source_root File.expand_path("../templates", __FILE__)
|
8
|
+
p '__FILE__:' + __FILE__
|
9
|
+
p 'source_root:' + source_root
|
8
10
|
argument :api_login_id, :type => :string, :desc => 'Your Authorize.Net API login ID.', :optional => true
|
9
11
|
argument :api_transaction_key, :type => :string, :desc => 'Your Authorize.Net API transaction key.', :optional => true
|
10
12
|
argument :merchant_hash_value, :type => :string, :desc => 'Your Authorize.Net merchant hash value.', :optional => true
|
@@ -48,4 +50,4 @@ DESC
|
|
48
50
|
|
49
51
|
end
|
50
52
|
end
|
51
|
-
end
|
53
|
+
end
|
@@ -0,0 +1,49 @@
|
|
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
|
+
A generator is provided to aid in setting up a Direct Post Method application. In the example below 'payments' is the name of the controller to generate.
|
27
|
+
|
28
|
+
> sudo gem install rails -v '~> 2.1'
|
29
|
+
> rails my_direct_post_app
|
30
|
+
> cd my_direct_post_app
|
31
|
+
> script/generate authorize_net_direct_post payments YOUR_API_LOGIN_ID YOUR_TRANSACTION_KEY MERCH_HASH_KEY
|
32
|
+
> script/server
|
33
|
+
|
34
|
+
After running the generator you will probably want to customize the payment form found in 'app/views/payments/payment.erb' and the receipt found in 'app/views/payments/receipt.erb'.
|
35
|
+
|
36
|
+
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').
|
37
|
+
|
38
|
+
|
39
|
+
== Credit Card Test Numbers
|
40
|
+
|
41
|
+
For your reference, you can use the following test credit card numbers.
|
42
|
+
The expiration date must be set to the present date or later. Use 123 for
|
43
|
+
the CCV code.
|
44
|
+
|
45
|
+
American Express:: 370000000000002
|
46
|
+
Discover:: 6011000000000012
|
47
|
+
Visa:: 4007000000027
|
48
|
+
JCB:: 3088000000000017
|
49
|
+
Diners Club/ Carte Blanche:: 38000000000006
|
@@ -0,0 +1,31 @@
|
|
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, :relay_url => <%= singular_name %>_relay_response_url(:only_path => false))
|
12
|
+
end
|
13
|
+
|
14
|
+
# POST
|
15
|
+
# Returns relay response when Authorize.Net POSTs to us.
|
16
|
+
def relay_response
|
17
|
+
sim_response = AuthorizeNet::SIM::Response.new(params)
|
18
|
+
if sim_response.success?(AUTHORIZE_NET_CONFIG['api_login_id'], AUTHORIZE_NET_CONFIG['merchant_hash_value'])
|
19
|
+
render :text => sim_response.direct_post_reply(<%= singular_name %>_receipt_url(:only_path => false), :include => true)
|
20
|
+
else
|
21
|
+
render
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
# GET
|
26
|
+
# Displays a receipt.
|
27
|
+
def receipt
|
28
|
+
@auth_code = params[:x_auth_code]
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>Direct Post 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
|
+
</html>
|
@@ -0,0 +1,10 @@
|
|
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
|
+
<%= label_tag 'x_card_num', 'Credit Card Number'%>
|
5
|
+
<%= text_field_tag 'x_card_num' %>
|
6
|
+
<%= label_tag 'x_exp_date', 'Expiration Date (MMYY)'%>
|
7
|
+
<%= text_field_tag 'x_exp_date' %>
|
8
|
+
<br />
|
9
|
+
<%= f.submit 'Purchase'%>
|
10
|
+
<% end %>
|
@@ -0,0 +1,10 @@
|
|
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
|
+
<%= label_tag 'x_card_num', 'Credit Card Number'%>
|
5
|
+
<%= text_field_tag 'x_card_num' %>
|
6
|
+
<%= label_tag 'x_exp_date', 'Expiration Date (MMYY)'%>
|
7
|
+
<%= text_field_tag 'x_exp_date' %>
|
8
|
+
<br />
|
9
|
+
<%= f.submit 'Purchase'%>
|
10
|
+
<% end %>
|
@@ -0,0 +1 @@
|
|
1
|
+
Thanks for your purchase! Your authorization code is <%=h @auth_code %>.
|
@@ -0,0 +1 @@
|
|
1
|
+
Sorry, something went wrong, please try your transaction again.
|
@@ -4,7 +4,7 @@ require 'rails/generators/named_base'
|
|
4
4
|
module AuthorizeNet
|
5
5
|
module Generators
|
6
6
|
class SimGenerator < Rails::Generators::NamedBase
|
7
|
-
source_root File.expand_path("
|
7
|
+
source_root File.expand_path("../templates", __FILE__)
|
8
8
|
argument :api_login_id, :type => :string, :desc => 'Your Authorize.Net API login ID.', :optional => true
|
9
9
|
argument :api_transaction_key, :type => :string, :desc => 'Your Authorize.Net API transaction key.', :optional => true
|
10
10
|
argument :merchant_hash_value, :type => :string, :desc => 'Your Authorize.Net merchant hash value.', :optional => true
|
@@ -44,4 +44,4 @@ DESC
|
|
44
44
|
|
45
45
|
end
|
46
46
|
end
|
47
|
-
end
|
47
|
+
end
|
@@ -0,0 +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
|
52
|
+
Diners Club/ Carte Blanche:: 38000000000006
|
@@ -0,0 +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
|
+
|
21
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
Thanks for your purchase! Your authorization code is <%=h @auth_code %>.
|
@@ -0,0 +1,75 @@
|
|
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
|
+
|
7
|
+
class Base
|
8
|
+
def route_code(route_options)
|
9
|
+
route_options[:path] = route_options[:name] unless route_options.has_key? :path
|
10
|
+
code = "map.#{route_options[:name]} '#{route_options[:path]}', :controller => '#{route_options[:controller]}', :action => '#{route_options[:action]}'"
|
11
|
+
code += ", :conditions => #{route_options[:conditions]}" if route_options.has_key? :conditions
|
12
|
+
end
|
13
|
+
|
14
|
+
def gsub_file_check(relative_destination, regexp, *args, &block)
|
15
|
+
path = destination_path(relative_destination)
|
16
|
+
content = File.read(path)
|
17
|
+
!(content =~ regexp).nil?
|
18
|
+
end
|
19
|
+
|
20
|
+
def gem_code(gem_options)
|
21
|
+
gem_options[:lib] = gem_options[:name] unless gem_options.has_key? :lib
|
22
|
+
code = "config.gem '#{gem_options[:name]}', :lib => '#{gem_options[:lib]}'"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
# Here's a readable version of the long string used above in route_code;
|
27
|
+
# but it should be kept on one line to avoid inserting extra whitespace
|
28
|
+
# into routes.rb when the generator is run:
|
29
|
+
# "map.#{route_options[:name]} '#{route_options[:name]}',
|
30
|
+
# :controller => '#{route_options[:controller]}',
|
31
|
+
# :action => '#{route_options[:action]}'"
|
32
|
+
|
33
|
+
class Create
|
34
|
+
def route(route_options)
|
35
|
+
sentinel = 'ActionController::Routing::Routes.draw do |map|'
|
36
|
+
unless gsub_file_check 'config/routes.rb', /(#{Regexp.escape(route_code(route_options))})/mi
|
37
|
+
logger.route route_code(route_options)
|
38
|
+
gsub_file 'config/routes.rb', /(#{Regexp.escape(sentinel)})/mi do |m|
|
39
|
+
"#{m}\n #{route_code(route_options)}"
|
40
|
+
end
|
41
|
+
else
|
42
|
+
logger.identical route_code(route_options)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
def gem(gem_options)
|
47
|
+
sentinel = 'Rails::Initializer.run do |config|'
|
48
|
+
unless gsub_file_check 'config/environment.rb', /(#{Regexp.escape(gem_code(gem_options))})/mi
|
49
|
+
logger.gem gem_code(gem_options)
|
50
|
+
gsub_file 'config/environment.rb', /(#{Regexp.escape(sentinel)})/mi do |m|
|
51
|
+
"#{m}\n #{gem_code(gem_options)}"
|
52
|
+
end
|
53
|
+
else
|
54
|
+
logger.identical gem_code(gem_options)
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
class Destroy
|
60
|
+
def route(route_options)
|
61
|
+
logger.remove_route route_code(route_options)
|
62
|
+
to_remove = "\n #{Regexp.escape(route_code(route_options))}"
|
63
|
+
gsub_file 'config/routes.rb', /(#{to_remove})/mi, ''
|
64
|
+
end
|
65
|
+
|
66
|
+
def gem(gem_options)
|
67
|
+
logger.remove_gem gem_code(gem_options)
|
68
|
+
to_remove = "\n #{Regexp.escape(gem_code(gem_options))}"
|
69
|
+
gsub_file 'config/environment.rb', /(#{to_remove})/mi, ''
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: authorizenet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Authorize.Net
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.4.3
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '1.6'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 1.4.3
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '1.6'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: rake
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,13 +67,27 @@ extra_rdoc_files: []
|
|
73
67
|
files:
|
74
68
|
- lib/app/helpers/authorize_net_helper.rb
|
75
69
|
- lib/authorize_net.rb
|
70
|
+
- lib/authorize_net.rb~
|
76
71
|
- lib/authorize_net/addresses/address.rb
|
77
72
|
- lib/authorize_net/addresses/shipping_address.rb
|
78
73
|
- lib/authorize_net/aim/response.rb
|
74
|
+
- lib/authorize_net/aim/response.rb~
|
79
75
|
- lib/authorize_net/aim/transaction.rb
|
76
|
+
- lib/authorize_net/arb/fields.rb
|
77
|
+
- lib/authorize_net/arb/fields.rb~
|
78
|
+
- lib/authorize_net/arb/paging.rb
|
79
|
+
- lib/authorize_net/arb/paging.rb~
|
80
80
|
- lib/authorize_net/arb/response.rb
|
81
|
+
- lib/authorize_net/arb/response.rb~
|
82
|
+
- lib/authorize_net/arb/sorting.rb
|
83
|
+
- lib/authorize_net/arb/sorting.rb~
|
81
84
|
- lib/authorize_net/arb/subscription.rb
|
85
|
+
- lib/authorize_net/arb/subscription_detail.rb
|
86
|
+
- lib/authorize_net/arb/subscription_detail.rb~
|
87
|
+
- lib/authorize_net/arb/subscription_list_response.rb
|
88
|
+
- lib/authorize_net/arb/subscription_list_response.rb~
|
82
89
|
- lib/authorize_net/arb/transaction.rb
|
90
|
+
- lib/authorize_net/arb/transaction.rb~
|
83
91
|
- lib/authorize_net/authorize_net.rb
|
84
92
|
- lib/authorize_net/cim/customer_profile.rb
|
85
93
|
- lib/authorize_net/cim/payment_profile.rb
|
@@ -88,6 +96,7 @@ files:
|
|
88
96
|
- lib/authorize_net/customer.rb
|
89
97
|
- lib/authorize_net/email_receipt.rb
|
90
98
|
- lib/authorize_net/fields.rb
|
99
|
+
- lib/authorize_net/fields.rb~
|
91
100
|
- lib/authorize_net/key_value_response.rb
|
92
101
|
- lib/authorize_net/key_value_transaction.rb
|
93
102
|
- lib/authorize_net/line_item.rb
|
@@ -108,10 +117,32 @@ files:
|
|
108
117
|
- lib/authorize_net/sim/transaction.rb
|
109
118
|
- lib/authorize_net/transaction.rb
|
110
119
|
- lib/authorize_net/xml_response.rb
|
120
|
+
- lib/authorize_net/xml_response.rb~
|
111
121
|
- lib/authorize_net/xml_transaction.rb
|
122
|
+
- lib/authorize_net/xml_transaction.rb~
|
112
123
|
- lib/authorizenet.rb
|
113
|
-
- lib/generators/authorize_net/direct_post_generator.rb
|
114
|
-
- lib/generators/authorize_net/
|
124
|
+
- lib/generators/authorize_net/direct_post/direct_post_generator.rb
|
125
|
+
- lib/generators/authorize_net/direct_post/templates/README-AuthorizeNet
|
126
|
+
- lib/generators/authorize_net/direct_post/templates/config.yml.erb
|
127
|
+
- lib/generators/authorize_net/direct_post/templates/config.yml.rails3.erb
|
128
|
+
- lib/generators/authorize_net/direct_post/templates/controller.rb.erb
|
129
|
+
- lib/generators/authorize_net/direct_post/templates/initializer.rb
|
130
|
+
- lib/generators/authorize_net/direct_post/templates/layout.erb
|
131
|
+
- lib/generators/authorize_net/direct_post/templates/payment.erb
|
132
|
+
- lib/generators/authorize_net/direct_post/templates/payment.rails3.erb
|
133
|
+
- lib/generators/authorize_net/direct_post/templates/receipt.erb
|
134
|
+
- lib/generators/authorize_net/direct_post/templates/relay_response.erb
|
135
|
+
- lib/generators/authorize_net/sim/sim_generator.rb
|
136
|
+
- lib/generators/authorize_net/sim/templates/README-AuthorizeNet
|
137
|
+
- lib/generators/authorize_net/sim/templates/config.yml.erb
|
138
|
+
- lib/generators/authorize_net/sim/templates/config.yml.rails3.erb
|
139
|
+
- lib/generators/authorize_net/sim/templates/controller.rb.erb
|
140
|
+
- lib/generators/authorize_net/sim/templates/initializer.rb
|
141
|
+
- lib/generators/authorize_net/sim/templates/layout.erb
|
142
|
+
- lib/generators/authorize_net/sim/templates/payment.erb
|
143
|
+
- lib/generators/authorize_net/sim/templates/payment.rails3.erb
|
144
|
+
- lib/generators/authorize_net/sim/templates/thank_you.erb
|
145
|
+
- lib/generators/generator_extensions.rb
|
115
146
|
homepage: https://github.com/AuthorizeNet/sdk-ruby
|
116
147
|
licenses:
|
117
148
|
- https://github.com/AuthorizeNet/sdk-ruby/blob/master/license.txt
|
@@ -132,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
163
|
version: 1.3.6
|
133
164
|
requirements: []
|
134
165
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.
|
166
|
+
rubygems_version: 2.4.1
|
136
167
|
signing_key:
|
137
168
|
specification_version: 4
|
138
169
|
summary: Authorize.Net Payments SDK
|