caboose-cms 0.5.83 → 0.5.84
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/caboose/checkout_controller.rb +2 -1
- data/app/controllers/caboose/store_controller.rb +1 -0
- data/app/models/caboose/schema.rb +2 -1
- data/app/models/caboose/store_config.rb +2 -1
- data/app/views/caboose/checkout/#Untitled-1# +3 -0
- data/app/views/caboose/store/admin_edit.html.erb +2 -0
- data/lib/caboose/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGZkMTA0YTBhYzRhYjMwZjNjOGI1MDEwNjM5YzBmMDRkYjJlZmIwYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NmQ0MjYxYzA2ZGI2ZGIxZWNlMjg5NzVmNmVkYTI0M2MxMTk0OTc5Yw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2FkNjQxNTQyNGIxY2QwODlmYmQxNzdjMjgzZjRkMWFiNzM5ODFkMjc2ZDRm
|
10
|
+
ZWRlMmM5Y2M5ZDkyNDBkMDJlNTliNDM5N2U5YWJiN2FhMzVhZWYyNGNmODEw
|
11
|
+
NTU4NmJiYmJjMjg1YTViOTkyOTQ3YzdjNzgxOWRlMzIwMTYxYzA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTJmNTQ4YmJkZWVjMjNmYjNlMzhhMmFlOWQwMTI1NWMzZmI4NDdmMDNlNzYx
|
14
|
+
YjQ4ZjM0NDA4NDY3Y2M4Mjc2MDRiNTMzOWYwNGM5ZDI1NDdjZWM3YTkzNWQ2
|
15
|
+
OTUzMDU0ZmE3Y2UwNWJiZjkzZTcyYzZjOTU3NzQ4MDhhYWFjMTk=
|
@@ -82,7 +82,8 @@ module Caboose
|
|
82
82
|
@order.total,
|
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
|
+
:relay_url => sc.pp_relay_url,
|
86
87
|
:transaction_type => 'AUTH_ONLY',
|
87
88
|
:test => sc.pp_testing
|
88
89
|
)
|
@@ -27,6 +27,7 @@ module Caboose
|
|
27
27
|
when 'pp_username' then sc.pp_username = value
|
28
28
|
when 'pp_password' then sc.pp_password = value
|
29
29
|
when 'pp_testing' then sc.pp_testing = value
|
30
|
+
when 'pp_relay_url' then sc.pp_relay_url = value
|
30
31
|
when 'ups_username' then sc.ups_username = value
|
31
32
|
when 'ups_password' then sc.ups_password = value
|
32
33
|
when 'ups_key' then sc.ups_key = value
|
@@ -557,7 +557,8 @@ class Caboose::Schema < Caboose::Utilities::Schema
|
|
557
557
|
[ :pp_name , :string ],
|
558
558
|
[ :pp_username , :string ],
|
559
559
|
[ :pp_password , :string ],
|
560
|
-
[ :pp_testing , :boolean , { :default => true }],
|
560
|
+
[ :pp_testing , :boolean , { :default => true }],
|
561
|
+
[ :pp_relay_url , :string ],
|
561
562
|
[ :ups_username , :string ],
|
562
563
|
[ :ups_password , :string ],
|
563
564
|
[ :ups_key , :string ],
|
@@ -9,6 +9,7 @@ sc = @store_config
|
|
9
9
|
<p><div id='storeconfig_<%= sc.id %>_pp_name' ></div></p>
|
10
10
|
<p><div id='storeconfig_<%= sc.id %>_pp_username' ></div></p>
|
11
11
|
<p><div id='storeconfig_<%= sc.id %>_pp_password' ></div></p>
|
12
|
+
<p><div id='storeconfig_<%= sc.id %>_pp_relay_url' ></div></p>
|
12
13
|
<p><div id='storeconfig_<%= sc.id %>_pp_testing' ></div></p>
|
13
14
|
|
14
15
|
<h2>Fulfillment Contacts</h2>
|
@@ -69,6 +70,7 @@ $(document).ready(function() {
|
|
69
70
|
{ name: 'pp_username' , nice_name: 'Username' , type: 'text' , value: <%= raw Caboose.json(sc.pp_username ) %>, width: 400 },
|
70
71
|
{ name: 'pp_password' , nice_name: 'Password' , type: 'text' , value: <%= raw Caboose.json(sc.pp_password ) %>, width: 400 },
|
71
72
|
{ name: 'pp_testing' , nice_name: 'Test Mode' , type: 'checkbox' , value: <%= raw Caboose.json(sc.pp_testing ? 1 : 0 ) %>, width: 400 },
|
73
|
+
{ name: 'pp_relay_url' , nice_name: 'Relay URL' , type: 'text' , value: <%= raw Caboose.json(sc.pp_relay_url ) %>, width: 400 },
|
72
74
|
{ name: 'fulfillment_email' , nice_name: 'Fulfillment Email' , type: 'text' , value: <%= raw Caboose.json(sc.fulfillment_email ) %>, width: 400 },
|
73
75
|
{ name: 'shipping_email' , nice_name: 'Shipping Email' , type: 'text' , value: <%= raw Caboose.json(sc.shipping_email ) %>, width: 400 },
|
74
76
|
{ name: 'handling_percentage' , nice_name: 'Handling Percentage' , type: 'text' , value: <%= raw Caboose.json(sc.handling_percentage ) %>, width: 400 },
|
data/lib/caboose/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.84
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
@@ -696,6 +696,7 @@ files:
|
|
696
696
|
- app/views/caboose/categories/admin_edit.html.erb
|
697
697
|
- app/views/caboose/categories/admin_index.html.erb
|
698
698
|
- app/views/caboose/categories/admin_new.html.erb
|
699
|
+
- app/views/caboose/checkout/#Untitled-1#
|
699
700
|
- app/views/caboose/checkout/_address_form.html.erb
|
700
701
|
- app/views/caboose/checkout/_billing_form.html.erb
|
701
702
|
- app/views/caboose/checkout/_cart.html.erb
|