Skip to content

Commit

Permalink
More more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Apr 23, 2024
1 parent 1b00e51 commit 77bf894
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class PostMercadoPagoCallbackRoute(val m: PerfectPayments) : BaseRoute("/api/v1/
// Generate the manifest string
val manifest = String.format("id:%s;request-id:%s;ts:%s;", dataID, xRequestId, ts)

logger.info { "MercadoPago request manifest: $manifest; TS: $ts; Hash: $hash" }
val mac = Mac.getInstance("HmacSHA256")

val signingKey = SecretKeySpec(m.gateway.mercadoPago.webhookSecretSignature.toByteArray(Charsets.UTF_8), "HmacSHA256")
Expand Down

0 comments on commit 77bf894

Please sign in to comment.