puntopagos 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/puntopagos/verification.rb +2 -1
- data/lib/puntopagos/version.rb +1 -1
- metadata +1 -1
@@ -16,7 +16,8 @@ module PuntoPagos
|
|
16
16
|
# Returns the signed String.
|
17
17
|
def verify token, trx_id, amount
|
18
18
|
executioner = PuntoPagos::Executioner.new(@env)
|
19
|
-
|
19
|
+
timestamp = get_timestamp
|
20
|
+
message = create_message token, trx_id, amount, timestamp
|
20
21
|
authorization = PuntoPagos::Authorization.new(@env)
|
21
22
|
signature = authorization.sign(message)
|
22
23
|
|
data/lib/puntopagos/version.rb
CHANGED