spree_zaez_komerci 3.0.4.2 → 3.0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spree/komerci_configuration.rb +2 -0
- data/spree_zaez_komerci.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6efc65d608763ed53e045317d27089c32b57d9f1
|
4
|
+
data.tar.gz: 82077d4a908d6094db5549b8f4b090ccf72ec7be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 444080d25bfa37ed8e02bd4a1a24f5ea7e3916172fe158da7f39740a8faea1776b1fbbc6d3d62d906f4055f66b1bf1f6a1fd5c1b9975747b388eb44e93800800
|
7
|
+
data.tar.gz: 709e50e2f859c8b883a30118025db68386ee54d6127c17c25627b9eaeb8f8d33b27d82dcce5cb9a164f79afb1c6a641d0c82ca3d3b85b5fad3851fcea4bafa8f
|
@@ -190,6 +190,8 @@ class Spree::KomerciConfiguration < Spree::Preferences::Configuration
|
|
190
190
|
def format_response(message, code = nil)
|
191
191
|
if code
|
192
192
|
case code.to_s
|
193
|
+
when '23'
|
194
|
+
return 'Transação não autorizada.'
|
193
195
|
when '77'
|
194
196
|
return 'Problemas com o cartão. Por favor, verifique os dados de seu cartão. Caso o erro persista, entre em contato com a central de atendimento de seu cartão.'
|
195
197
|
when '27'
|
data/spree_zaez_komerci.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.platform = Gem::Platform::RUBY
|
4
4
|
s.name = 'spree_zaez_komerci'
|
5
|
-
s.version = '3.0.4.
|
5
|
+
s.version = '3.0.4.3'
|
6
6
|
s.summary = 'Adds Komerci as a Payment Method to Spree Commerce'
|
7
7
|
s.description = s.summary
|
8
8
|
s.required_ruby_version = '>= 2.0.0'
|