Skip to content

[ECP-9611] Bump API library version and provide capturePspreference for PayPal partial refunds#2954

Merged
candemiralp merged 10 commits intomainfrom
ECP-9611
May 7, 2025
Merged

[ECP-9611] Bump API library version and provide capturePspreference for PayPal partial refunds#2954
candemiralp merged 10 commits intomainfrom
ECP-9611

Conversation

@candemiralp
Copy link
Contributor

@candemiralp candemiralp commented May 6, 2025

Description

The PayPal implementation on Adyen requires to know the relevant capture pspreference if there are more than one separate capture for the payment. So that, Adyen can match the refund to the correct capture.

More details can be found on Adyen PayPal documentation.

This PR inserts capturePspReference field to the PayPal refund requests (for manual capture) based on the relevant capture data.

Also, Adyen PHP API Library version has been upgraded to v27.0.0 as a part of this fix.

Tested scenarios

  • Refund of a PayPal payment with multiple separate captures

@candemiralp candemiralp marked this pull request as ready for review May 6, 2025 09:36
@candemiralp candemiralp requested a review from a team as a code owner May 6, 2025 09:36
@candemiralp candemiralp changed the title [ECP-9611] Provide capture pspreference for PayPal partial refunds [ECP-9611] Provide capturePspeference for PayPal partial refunds May 6, 2025
@candemiralp candemiralp changed the title [ECP-9611] Provide capturePspeference for PayPal partial refunds [ECP-9611] Provide capturePspreference for PayPal partial refunds May 6, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 7, 2025

@candemiralp candemiralp merged commit 45bf231 into main May 7, 2025
14 of 15 checks passed
@candemiralp candemiralp deleted the ECP-9611 branch May 7, 2025 14:21
@candemiralp candemiralp added the Feature Indicates a new feature addition label May 7, 2025
@candemiralp candemiralp changed the title [ECP-9611] Provide capturePspreference for PayPal partial refunds [ECP-9611] Bump API library version and provide capturePspreference for PayPal partial refunds May 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Indicates a new feature addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants