effective_orders 6.16.0 → 6.16.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c33107747aca735bb6baa8b845f15c0a1ccb438ca7c25ca58b31e9ab230f1de
4
- data.tar.gz: 24a3f7e86c1d95ddfe3bb20d794e495b29c4cf83ffa4b3a3c0c63a333a7166e3
3
+ metadata.gz: 299e5f8e5486714ddaf1ef895a2f9692c943502464c7f95bcdb5c802aca6ebe0
4
+ data.tar.gz: 7ea8d58577b4f3a0d029401e8a9dd0cbc243e6c64d1e0b82067479caa77d51a9
5
5
  SHA512:
6
- metadata.gz: c350776105133c3382b9b51c4bc139895df6acbec242bf351fe379cdbd5cf8b9d1fffe13f662123aaa29d075f385b4675aced7af5ce81bd8996ab67c120ceb0a
7
- data.tar.gz: 13e0b330ed878ad9d6daeadcac913fbc51fac9dff3019bdfe96d604913afa6964402dc3c5c62092602d0de03a697107395a12579e73c37741bcbed0126ba87db
6
+ metadata.gz: 601d9520c6295a79fa1be7e4bb721f1582aee19d60d09ec9d19f638a7a0a34aa8d6716596bd54ead789c4ea1c27ee5ec437e33638cf79957cc2777b2e980e57b
7
+ data.tar.gz: 2119478b0960de2100157edc5b7ed00c51912874ef3ed2b25d7ea599d8c99f59711b24861f7090f73bacdb0ac2c9d13c53aabdba1bc98e5baa76276917c45207
@@ -41,7 +41,7 @@
41
41
  %p.my-4.text-center - or -
42
42
  = render partial: '/effective/orders/deferred/form', locals: provider_locals
43
43
 
44
- - if EffectiveResources.authorized?(controller, :admin, :effective_orders) && order.user != current_user
44
+ - if EffectiveResources.authorized?(controller, :admin, :effective_orders) && controller_path.include?('admin/') && order.user != current_user
45
45
  - if EffectiveOrders.delayed? && order.delayed? && order.deferred?
46
46
  .effective-order-admin-purchase-actions
47
47
  = render partial: '/effective/orders/delayed/form_purchase', locals: provider_locals
@@ -8,6 +8,16 @@
8
8
  %tr
9
9
  %td
10
10
  - if order.delayed?
11
- Your #{order.delayed_payment_method} will be charged on #{order.delayed_payment_date.strftime('%F')}
11
+ %p Your #{order.delayed_payment_method} will be charged on #{order.delayed_payment_date.strftime('%F')}
12
12
  - else
13
- Waiting for payment by #{order.payment_provider}
13
+ %p Waiting for payment by #{order.payment_provider}
14
+
15
+ - if order.payment_provider == "etransfer" && (EffectiveOrders.etransfer[:success] rescue false).present?
16
+ %p= EffectiveOrders.etransfer[:success].html_safe
17
+
18
+ - if order.payment_provider == "cheque" && (EffectiveOrders.cheque[:success] rescue false).present?
19
+ %p= EffectiveOrders.cheque[:success].html_safe
20
+
21
+ - if order.payment_provider == "phone" && (EffectiveOrders.phone[:success] rescue false).present?
22
+ %p= EffectiveOrders.phone[:success].html_safe
23
+
@@ -1,3 +1,3 @@
1
1
  module EffectiveOrders
2
- VERSION = '6.16.0'.freeze
2
+ VERSION = '6.16.2'.freeze
3
3
  end
@@ -298,7 +298,7 @@ module EffectiveOrders
298
298
  end
299
299
 
300
300
  def self.deluxe_script_url
301
- "https://hostedform2.deluxe.com/V2/deluxe.js"
301
+ "https://hostedpaymentform.deluxe.com/v2/deluxe.js"
302
302
  end
303
303
 
304
304
  def self.moneris_checkout_script_url
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_orders
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.16.0
4
+ version: 6.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-04 00:00:00.000000000 Z
11
+ date: 2024-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails