If I have to refund some client subscription. I goes under the Paypal Website, inside the "Activity" page. I search for a transaction ID and then click the "Refund" button.
Unfortunately, when I do that. The Paypal API return my Subscription as "ACTIVE" like nothing happened. The API does return "CANCELLED" or "EXPIRED" successfully, but nothing about refunds. Does this take several days before the API return the correct value or is this some kind of bug ?
Thank you for your help.
... View more
Hi everyone. I'm trying to integrate Paypal inside my Node.JS application. I've already made a successful API call for the Oauth2 token, but when I'm trying to call something else (for example '/v1/billing/subscriptions/'). The paypal API return an error saying : name : "UNSUPPORTED_MEDIA_TYPE" message : "The server does not support the request payload's media type". I'm guessing this have to do with the "Content-Type" and "Accept" variable from the HTTP header. Even by following the Paypal API documentation (https://developer.paypal.com/docs/api/reference/api-requests/#http-request-headers), or Even if I try "application/json", "application/x-www-form-urlencoded' and also tried to stringified my Body data. Nothing work. Does someone can share their working http header, to see if i'm doing anything wrong ? Thank you very much for your help.
... View more