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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8d31d4ce12b9ba636700d1e1ce9ec14165f5b06f
4
- data.tar.gz: 21ccb85d06dc3359d2833231cf8df31dac60ece2
3
+ metadata.gz: 6efc65d608763ed53e045317d27089c32b57d9f1
4
+ data.tar.gz: 82077d4a908d6094db5549b8f4b090ccf72ec7be
5
5
  SHA512:
6
- metadata.gz: 47189b339539dedaa0d0ce8097ad5904248cd7551506cced22a1cad828c335f5a1b529e32ffef46e903ea07e17b08c7cb3bcb468944e33177ed395147107e080
7
- data.tar.gz: 8d873c7056e3df9a2bbf6f41b7a4742cbd047d8428231f4941558f3e28e03390c8e862531d585a61c2ed7c31cccca218b815267bac593cfee51546c186f56c8f
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'
@@ -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.2'
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_zaez_komerci
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4.2
4
+ version: 3.0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zaez Team