Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mercadopago/sdk-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.0.2
Choose a base ref
...
head repository: mercadopago/sdk-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.1.0
Choose a head ref
  • 4 commits
  • 7 files changed
  • 2 contributors

Commits on May 13, 2026

  1. Add WebhookSignatureValidator utility

    Verifies MercadoPago webhook notifications by recomputing the HMAC-SHA256
    signature locally and comparing it in constant time (MessageDigest.isEqual)
    against the value in the x-signature header. Stateless, performs no
    outbound HTTP calls.
    
    - com.mercadopago.webhook.WebhookSignatureValidator
    - com.mercadopago.exceptions.MPInvalidWebhookSignatureException
      (extends MPException; checked; Lombok @Getter)
    - com.mercadopago.exceptions.SignatureFailureReason enum
    - Optional Duration tolerance for replay protection
    - Forward-compatible supportedVersions parameter (default List.of("v1"))
    - 16 JUnit 5 tests covering the canonical cases
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    danielalfarourrea and claude committed May 13, 2026
    Configuration menu
    Copy the full SHA
    f8ebc1f View commit details
    Browse the repository at this point in the history

Commits on May 21, 2026

  1. bump version

    danielalfarourrea committed May 21, 2026
    Configuration menu
    Copy the full SHA
    01ddd89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    605f6e5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #340 from mercadopago/feature/webhook-signature

    Add WebhookSignatureValidator utility
    danielalfarourrea authored May 21, 2026
    Configuration menu
    Copy the full SHA
    37c6a3b View commit details
    Browse the repository at this point in the history
Loading