catarse_pagarme 2.8.10 → 2.9.0
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/payment_delegator.rb +1 -1
- 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: 83358dae35ea75d1e2e0bd6884cedd186291245b
|
4
|
+
data.tar.gz: bcc6d9f8d3073f38c240749668da9203b11ba912
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af513375d177465a11a13b2e66eef712715d302115652756d4c19c54dde9a2b75c60706436a4395447a00d45d6a53293028bfa4df67bb8bc195163ef8b793866
|
7
|
+
data.tar.gz: e42af8348a9d17070bb306d514b48681486673432bc29410e187e450940321d43d8d957f30e0e8500dcfe6675cf1c09ad43d18f327f929ceb0b51bbdd901fa08
|
data/Gemfile.lock
CHANGED
@@ -31,7 +31,7 @@ module CatarsePagarme
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def fill_acquirer_data
|
34
|
-
data = payment.gateway_data || {}
|
34
|
+
data = transaction.try(:to_hash) || payment.gateway_data || {}
|
35
35
|
payment.gateway_data = data.merge({
|
36
36
|
acquirer_name: transaction.acquirer_name,
|
37
37
|
acquirer_tid: transaction.tid,
|