effective_orders 1.2.7 → 1.2.8
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b058a8018b04bba6d153a9b184a47785cddeac3
|
4
|
+
data.tar.gz: 40fa1ec6cbfdda59ef1d8d7e85715de2e84a0e78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7c937a0a8222f86c9e3eeb4924e56b1ef9a0761cfa091c07c9b15e475f5b514b89bcc5001b6d68afde394ae9af17e2c519c3462c3fefd4d97ac2b6ed3aebed4
|
7
|
+
data.tar.gz: 11da35e58807fb36ae04f3e0e915413148a3f73140ab03ebbfd56dc798f0dd95a920b396a4cb3a6a7189ab60254a18f3cbd5e998a1242c3f7a333b62f74ebbb2
|
@@ -154,7 +154,7 @@ module Effective
|
|
154
154
|
def order_declined(details = nil, redirect_url = nil)
|
155
155
|
@order.decline!(details) rescue nil
|
156
156
|
|
157
|
-
flash[:danger] = "Unable to
|
157
|
+
flash[:danger] = "Unable to purchase order. Your credit card was declined by the payment processor. Your cart items have been restored. Please try again."
|
158
158
|
|
159
159
|
redirect_to (redirect_url.presence || effective_orders.order_declined_path(@order)).gsub(':id', @order.id.to_s)
|
160
160
|
end
|
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: 1.2.
|
4
|
+
version: 1.2.8
|
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: 2015-01-
|
11
|
+
date: 2015-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|