lolita-bank-link 1.0.1 → 1.0.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d3c12e9a0e2abad36809a9bb092c979b62b9d51
|
4
|
+
data.tar.gz: 1e97787930fa2c2f8413179e67af45aa5e37958d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c8d9f51bd48bd3636d3d4bcaf71e91315a0737eaa74b37bb0fb1cc2e98a4b7580f632e7df8e82ab9a836e062ca31f1f4cfd850f3e811e69afdbe4247130cb71
|
7
|
+
data.tar.gz: 26308a49920440c8a551d1afaacd748710f09a8ecd363ce619efa427161dce58161dd5ddd23f7ec0c5f296009551b760b6a3d22be7133cddf08f1d6de33c1603
|
@@ -25,8 +25,12 @@ module LolitaBankLink
|
|
25
25
|
redirect_to response.return_path
|
26
26
|
end
|
27
27
|
else
|
28
|
-
|
29
|
-
|
28
|
+
if !bank_auto_response? && response.transaction_completed?
|
29
|
+
redirect_to response.return_path
|
30
|
+
else
|
31
|
+
LolitaBankLink.logger.error("[#{session_id}][#{response.paymentable_id}][answer] #{response.error}")
|
32
|
+
render text: I18n.t("bank_link.wrong_request"), status: 400
|
33
|
+
end
|
30
34
|
end
|
31
35
|
ensure
|
32
36
|
if response
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lolita-bank-link
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gatis Tomsons
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-06-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
version: '0'
|
175
175
|
requirements: []
|
176
176
|
rubyforge_project:
|
177
|
-
rubygems_version: 2.
|
177
|
+
rubygems_version: 2.4.4
|
178
178
|
signing_key:
|
179
179
|
specification_version: 4
|
180
180
|
summary: BankLink payment plugin for Lolita
|