catarse_pagarme 2.4.8 → 2.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/models/catarse_pagarme/fee_calculator_concern.rb +1 -0
- data/lib/catarse_pagarme/version.rb +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: 102545aaa90e556cf8be86f2a9029f85568d7a3e
|
4
|
+
data.tar.gz: 8f8c037dc1e3d78e79cce1e4e2caadfd590abb4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef493484bbd2dc0372895c6e2c5f06586c3ebf621bce44bdc638d8bf1ee94e3f3b4f184ed4e823234594eacbde5e8b5accf3190008c204843b4a881c0b1ccc9b
|
7
|
+
data.tar.gz: 711bdd179df176ef971a82e052695cc0935c7835ab508f34f93d18d074bfe2e58055352f7d653626d67fe53695aa6010bc3d12d00aafac105c99e5ed160da0a0
|
data/Gemfile.lock
CHANGED
@@ -12,6 +12,7 @@ module CatarsePagarme::FeeCalculatorConcern
|
|
12
12
|
if self.contribution.acquirer_name == 'stone'
|
13
13
|
self.contribution.installments > 1 ? tax_calc_for_installment(stone_tax) : tax_calc(stone_tax)
|
14
14
|
else
|
15
|
+
return nil if self.contribution.card_brand.blank? # Here we depend on the card_brand
|
15
16
|
if self.contribution.card_brand == 'amex'
|
16
17
|
self.contribution.installments > 1 ? tax_calc_for_installment(cielo_installment_amex_tax) : tax_calc(cielo_installment_not_amex_tax)
|
17
18
|
else
|