invoicing_payments_processing 1.1.68 → 1.1.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/bufferpaypalnotification.rb +8 -3
- 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: 8a2630a4138eed9ce9bff82ca451f20580270ed4
|
4
|
+
data.tar.gz: d3889d1e0d0d880681b7bbc289c28b2032a349c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c3138defd98ac56b073e3b004eb81586bef46c462a2d9746512fd77e65ecd7b0595eff0b57e0163fec87d4ddc8604f349592abf55cd67424fedb02c4697c6c7
|
7
|
+
data.tar.gz: 26c8b39c421aa4fb18aa21f70d8ced37a117dd5d3263a2718e6d669575972b77fe93c7b9aff3ec1bdc26e982ffd1e43ed060e1bf62be4e761630823e8e1cb390
|
@@ -42,27 +42,32 @@ module BlackStack
|
|
42
42
|
# 3) haciendo coincidir el primer guid en el codigo de invoice, con el id del cliente
|
43
43
|
def get_client()
|
44
44
|
puts
|
45
|
-
puts "BlackStack::BufferPayPalNotification::get_client"
|
46
|
-
puts
|
47
|
-
puts "self.invoice:#{self.invoice.to_s}:."
|
45
|
+
puts "get_client: BlackStack::BufferPayPalNotification::get_client"
|
46
|
+
puts "get_client: self.invoice:#{self.invoice.to_s}:."
|
48
47
|
# obtengo el cliente que machea con este perfil
|
49
48
|
c = nil
|
50
49
|
if c.nil?
|
50
|
+
puts 'get_client: a'
|
51
51
|
if self.invoice.guid?
|
52
|
+
puts 'get_client: a1'
|
52
53
|
i = BlackStack::Invoice.where(:id=>self.invoice).first
|
53
54
|
c = i.client if !i.nil?
|
54
55
|
end
|
55
56
|
end
|
56
57
|
if c.nil?
|
58
|
+
puts 'get_client: b'
|
57
59
|
iid = self.invoice.split(".").last.to_s
|
58
60
|
if iid.guid?
|
61
|
+
puts 'get_client: b1'
|
59
62
|
i = BlackStack::Invoice.where(:id=>iid).first
|
60
63
|
c = i.client if !i.nil?
|
61
64
|
end
|
62
65
|
end
|
63
66
|
if c.nil?
|
67
|
+
puts 'get_client: c'
|
64
68
|
cid = self.invoice.split(".").first.to_s
|
65
69
|
if cid.guid?
|
70
|
+
puts 'get_client: c1'
|
66
71
|
c = BlackStack::Client.where(:id=>cid).first
|
67
72
|
end
|
68
73
|
end
|