Skip to content

Conversation

@RafaMelazzo
Copy link
Contributor

@RafaMelazzo RafaMelazzo commented Oct 14, 2025

Stop It

Important

Certifique-se de criar o PR para a branch develop.

Tarefa ECPJ-182

Qual o tipo de PR é esse? (marque todos os aplicáveis)

  • Refatoração
  • Adição de funcionalidade
  • Correção de bug
  • Otimização
  • Atualização de documentação

Evidência

Homologação

Homologação

@backstage-catalog-validator
Copy link

⚠️ Este repositório ainda não está catalogado no Backstage. ⚠️

Por favor, catalogue-o seguindo as instruções nesta documentação. [Via VPN].

💁 Qualquer problema ou dúvida, estamos no Slack, basta abrir um ticket no canal #help-foundation-platform.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances webhook security by implementing signature validation for incoming webhook requests, as part of task ECPJ-182. The changes upgrade the core module dependency and add cryptographic verification to ensure webhook authenticity.

  • Upgraded pagarme/ecommerce-module-core dependency from ~2.8.0 to ~2.9.0
  • Added webhook signature validation using asymmetric cryptography
  • Implemented request body validation and proper error handling for unauthorized requests

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
composer.json Updates core module dependency to support new webhook validation features
Model/WebhookManagement.php Adds signature validation logic with header verification and request body checks

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

@camiladiasds camiladiasds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Branch com conflito

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants