puntopagos 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -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))
24
+ (signature == pp_signature(headers)) and (verification.verify(params["token"], params["trx_id"], params["monto"].to_s + ".00"))
25
25
 
26
26
  end
27
27
 
@@ -21,7 +21,7 @@ module PuntoPagos
21
21
  authorization = PuntoPagos::Authorization.new(@env)
22
22
  signature = authorization.sign(message)
23
23
 
24
- puts "SIGNATURE: #{signature} TIMESTAMP: #{timestamp} TOKEN: #{token}"
24
+ puts "SIGNATURE: #{signature} TIMESTAMP: #{timestamp} TOKEN: #{token} TRX: #{trx_id}"
25
25
 
26
26
  response = executioner.call_api(nil, @@path, :get, signature, timestamp)
27
27
 
@@ -1,3 +1,3 @@
1
1
  module PuntoPagos
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puntopagos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: