Add a dedicated PaypalPaymentQuery class for direct PayPal payment lookup
Add a dedicated PaypalPaymentQuery class for direct PayPal payment lookup: a task in bird-critic-1.5-full-300 (Harbor dataset). PayPal order creation, update, cancellation, refund, and completion flows currently scan every payment on the Sylius order to find the one associated with a given PayPal…
The task
PayPal order creation, update, cancellation, refund, and completion flows currently scan every payment on the Sylius order to find the one associated with a given PayPal order ID. This approach is inefficient and non-deterministic. Replace it by introducing a `PaypalPaymentQuery` class (under the…
Part of kochsnow/bird-critic-1.5-full-300.