Paypal API refunds captured permission

I use the Paypal API for authorization and capture, I can easily authorize, capture and cancel payments.

the problem is that a payment was once taken, I don’t see the possibility of returning it, because "RefundTransaction" tells me that I can not return this type of payment, and "DoVoid" says that the payment has already been fixed.

Is there no way to return captured authorization through the API?

SOLVE I used the transaction identifier for authorization, it is necessary to use the transaction identifier obtained at the time of capture.

+4
source share
1 answer

See RefundTransaction Message Request . But I'm not sure if this is a good style for authorizing people using PayPal payments - except that you want to verify your billing account.

0
source

Source: https://habr.com/ru/post/1436850/


All Articles