Skip to content

Conversation

@Ryouzanpaku
Copy link
Contributor

No description provided.

@Ryouzanpaku Ryouzanpaku requested a review from a team as a code owner October 6, 2025 10:20
@Ryouzanpaku Ryouzanpaku force-pushed the CC-2868/fetch-chargeback-from-event branch from bcbbc99 to f3799ac Compare October 6, 2025 10:57
@Ryouzanpaku Ryouzanpaku requested a review from Copilot October 7, 2025 07:07
Copy link

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 adds chargeback webhook handling to the Unzer SDK, enabling the system to process webhook notifications for chargeback events and fetch chargeback resources.

  • Add chargeback webhook event handling in ResourceService
  • Add comprehensive unit tests for chargeback webhook processing
  • Add integration test to verify end-to-end chargeback webhook functionality

Reviewed Changes

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

File Description
src/Services/ResourceService.php Adds chargeback case to fetchResourceByUrl method for handling chargeback webhook events
test/unit/Services/WebhooksServiceTest.php Adds unit test for fetchChargebackByEventShouldReturnChargeback and reorganizes imports
test/integration/WebhookTest.php Adds integration test for chargeback webhook processing with test constant

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

@Ryouzanpaku Ryouzanpaku merged commit 9684e61 into main Oct 8, 2025
8 of 9 checks passed
@Ryouzanpaku Ryouzanpaku deleted the CC-2868/fetch-chargeback-from-event branch October 8, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants