caboose-cms 0.5.81 → 0.5.82
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
N2ZhNDBiM2MwMzQxNzA0MGM0YzM2NmIwMzBlMWFhZjUyYjUwMWZmYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDk1NTgwNDFmNzJhNzliZjRmMjI0YjNiMDZlNjVlN2U0ZGE4NTgwYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmRkMzQ2YWUwYzQ4ZjZlMjc5YThmNmQxY2QzNWQ4Njk3ZmM1YjU0MmNlNGM0
|
10
|
+
YTQ5Zjk3NWQwMGY5YmU3NjcxY2Q2NDljMDE3ZDlhNjk0ZDQ2MjRhYzc5ZGVi
|
11
|
+
MDVlYWIwNzg1NzEzNmYyMWQ5NzI3MjY1NTE2NjlhODk0Y2RhYzE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmExZjI2ZmM2NTI3YWMwOTFhMTc0N2VlYmY1NTQ3MjA1YzdhYjc0MjZhNDc3
|
14
|
+
MzllMTFmMjBlYjJlY2VkMjdhN2RkMTVmMzE4MmM5MDQzYzY5MGY1Zjc0YTUy
|
15
|
+
MDcyMDdkMmQ4MTk3ZDEzNWE3MTlkMjg0OWUwNTkxMDI5YWMxMGY=
|
@@ -83,7 +83,11 @@ module Caboose
|
|
83
83
|
#:relay_url => "#{request.protocol}#{request.host_with_port}/checkout/authnet-relay/#{@order.id}",
|
84
84
|
:relay_response => 'TRUE',
|
85
85
|
:relay_url => "#{request.protocol}#{request.host_with_port}/checkout/authnet-relay",
|
86
|
-
:transaction_type => 'AUTH_ONLY',
|
86
|
+
:transaction_type => 'AUTH_ONLY',
|
87
|
+
:billing_address => AuthorizeNet::Address.new(
|
88
|
+
:first_name => 'John',
|
89
|
+
:last_name => 'Doe'
|
90
|
+
)
|
87
91
|
:test => sc.pp_testing
|
88
92
|
)
|
89
93
|
@request = request
|
@@ -7,8 +7,15 @@ store_config = @site.store_config
|
|
7
7
|
<% if store_config.pp_name == 'authorize.net' %>
|
8
8
|
<form id="payment" target="relay" action="https://secure.authorize.net/gateway/transact.dll" method="post">
|
9
9
|
<%= sim_fields(@sim_transaction) %>
|
10
|
-
<input
|
11
|
-
<input id="x_description" name="x_after_relay"
|
10
|
+
<input type="hidden" id="x_invoice_num" name="x_invoice_num" value="<%= @order.id %>" />
|
11
|
+
<input type="hidden" id="x_description" name="x_after_relay" value="<%= raw "#{@request.protocol}#{@request.host_with_port}/checkout/authnet-response/#{@order.id}" %>" />
|
12
|
+
<input type="hidden" id="x_first_name" name="x_first_name" value="<%= raw @order.billing_address.first_name %>" />
|
13
|
+
<input type="hidden" id="x_last_name" name="x_last_name" value="<%= raw @order.billing_address.last_name %>" />
|
14
|
+
<input type="hidden" id="x_address" name="x_address" value="<%= raw @order.billing_address.address1 %>" />
|
15
|
+
<input type="hidden" id="x_city" name="x_city" value="<%= raw @order.billing_address.city %>" />
|
16
|
+
<input type="hidden" id="x_state" name="x_state" value="<%= raw @order.billing_address.state %>" />
|
17
|
+
<input type="hidden" id="x_zip" name="x_zip" value="<%= raw @order.billing_address.zip %>" />
|
18
|
+
|
12
19
|
<p><input name="x_card_num" id='billing-cc-number' type="text" maxlength="16" placeholder="Card Number" /></p>
|
13
20
|
<p>
|
14
21
|
<input id="expiration" name="x_exp_date" type="hidden" />
|
data/lib/caboose/version.rb
CHANGED