puntopagos 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/puntopagos/notification.rb +1 -1
- data/lib/puntopagos/version.rb +1 -1
- metadata +1 -1
@@ -21,7 +21,7 @@ module PuntoPagos
|
|
21
21
|
authorization = Authorization.new(@env)
|
22
22
|
signature = authorization.sign(message)
|
23
23
|
verification = PuntoPagos::Verification.new(@env)
|
24
|
-
(signature == pp_signature(headers)) and (verification.verify(params["token"], params["trx_id"], params["monto"].to_s + ".00"))
|
24
|
+
(signature == pp_signature(headers)) and (verification.verify(params["token"], params["trx_id"], params["monto"].to_i.to_s + ".00"))
|
25
25
|
|
26
26
|
end
|
27
27
|
|
data/lib/puntopagos/version.rb
CHANGED