Hi all, I'm using the paypal/Checkout-PHP-SDK library in combination with smart buttons to manage payments. Here's my workflow: - OrdersCreateRequest - OrdersCaptureRequest - Get capture ID - CapturesRefundRequest passing an amount and the capture ID In the last step the library makes a call to /v2/payments/captures/[CAPTUREID]/refund with the the amount parameter in the body. I always get back an error 500 with this message {"name":"UNPROCESSABLE_ENTITY","message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"2e076a8062117","details":[{"issue":"PARTIAL_REFUND_NOT_ALLOWED","description":"You cannot do a refund less than the original capture amount."}],"links":[{"href":"https://developer.paypal.com/docs/api/payments/v2/#error-PARTIAL_REFUND_NOT_ALLOWED","rel":"information_link"}]} I've tried with different amount, some of them matching the amount of one product but nothing changes but it works if I do a full refund of the order. How can I do a partial refund?
... View more