caboose-cms 0.5.84 → 0.5.85

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
- NGZkMTA0YTBhYzRhYjMwZjNjOGI1MDEwNjM5YzBmMDRkYjJlZmIwYQ==
4
+ YTA0MjQyY2ZjMTZlYzkyZjdmOGUxYWE5N2E0Yzc0OWQyMDUxN2Y2Yw==
5
5
  data.tar.gz: !binary |-
6
- NmQ0MjYxYzA2ZGI2ZGIxZWNlMjg5NzVmNmVkYTI0M2MxMTk0OTc5Yw==
6
+ NGU4ODdjNGRlMzUzNGE4M2ZlMTMwNjYwMWFmNjAyZjIzNjU2MTVlNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- M2FkNjQxNTQyNGIxY2QwODlmYmQxNzdjMjgzZjRkMWFiNzM5ODFkMjc2ZDRm
10
- ZWRlMmM5Y2M5ZDkyNDBkMDJlNTliNDM5N2U5YWJiN2FhMzVhZWYyNGNmODEw
11
- NTU4NmJiYmJjMjg1YTViOTkyOTQ3YzdjNzgxOWRlMzIwMTYxYzA=
9
+ ZmI4Mzk0NWUxNWUxM2MzZGNlMDJmZjBhN2NiZDEzMTFkNmMxNjQ4NTM1YzAw
10
+ MTI4ZWUxYjI0MGIyOTNiMzYyZjU1Yjc0MTJiM2Y1ZmRmODk2M2ZkODk3ZGMw
11
+ Mjc5ZGM3NzFiZjJjNzY2YzQxMDI3NjkzNmNjYzFjMjFkNjk1NDc=
12
12
  data.tar.gz: !binary |-
13
- ZTJmNTQ4YmJkZWVjMjNmYjNlMzhhMmFlOWQwMTI1NWMzZmI4NDdmMDNlNzYx
14
- YjQ4ZjM0NDA4NDY3Y2M4Mjc2MDRiNTMzOWYwNGM5ZDI1NDdjZWM3YTkzNWQ2
15
- OTUzMDU0ZmE3Y2UwNWJiZjkzZTcyYzZjOTU3NzQ4MDhhYWFjMTk=
13
+ NTJhNzVlNjdmYmJkNDY5YWMxNjBmMTA4MjRjNTM2MWJmN2IwNzg4ZTg0MTRl
14
+ NGExNzFkMDI4ZGVjYzBjZTgzYmQyMTMyNWQ1NDQ5N2I5OGJlOWY5ZGNlZDc2
15
+ YmViNmE1ZGUzZmM4NjZjZTljMWNlNmY3NWZmYmU0YmE1ZWEzMTg=
@@ -559,6 +559,7 @@ class Caboose::Schema < Caboose::Utilities::Schema
559
559
  [ :pp_password , :string ],
560
560
  [ :pp_testing , :boolean , { :default => true }],
561
561
  [ :pp_relay_url , :string ],
562
+ [ :pp_response_url , :string ],
562
563
  [ :ups_username , :string ],
563
564
  [ :ups_password , :string ],
564
565
  [ :ups_key , :string ],
@@ -8,7 +8,7 @@ store_config = @site.store_config
8
8
  <form id="payment" target="relay" action="https://secure.authorize.net/gateway/transact.dll" method="post">
9
9
  <%= sim_fields(@sim_transaction) %>
10
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}" %>" />
11
+ <input type="hidden" id="x_description" name="x_after_relay" value="<%= raw store_config.pp_response_url %>" />
12
12
  <input type="hidden" id="x_first_name" name="x_first_name" value="<%= raw @order.billing_address.first_name %>" />
13
13
  <input type="hidden" id="x_last_name" name="x_last_name" value="<%= raw @order.billing_address.last_name %>" />
14
14
  <input type="hidden" id="x_address" name="x_address" value="<%= raw @order.billing_address.address1 %>" />
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.5.84'
2
+ VERSION = '0.5.85'
3
3
  end
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.84
4
+ version: 0.5.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry