Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Jan-27-2020
Country: Switzerland
Type: Business
cbellone
cbellone Contributor
Contributor
2
Posts
0
Kudos
0
Solutions
Ice Breaker
The Return
Active
View all
Latest Contributions by cbellone
  • Topics cbellone has Participated In
  • Latest Contributions by cbellone

Re: Can't refund capured payment on sandbox

by cbellone Contributor in REST APIs
‎Aug-30-2020 01:10 AM
‎Aug-30-2020 01:10 AM
Hi @lerman  the only way to get refunds working again was to delete the REST API app and create a new one. I don't know if this can be even considered a "solution" but now the problem is gone   ... View more

Can't refund capured payment on sandbox

by cbellone Contributor in REST APIs
‎Jan-27-2020 03:47 AM
‎Jan-27-2020 03:47 AM
Hello,   I am trying to test my integration with the PayPal APIs v2, but I am not able to refund (either partially or fully) a payment after I capture it. This is the output from the (POST) call to https://api.sandbox.paypal.com/v2/payments/captures/26K90472HS220132T/refund   { "name": "NOT_AUTHORIZED", "message": "Authorization failed due to insufficient permissions.", "debug_id": "2b35619a75167", "details": [ { "issue": "PERMISSION_DENIED", "field": "capture_id", "value": "26K90472HS220132T", "description": "You do not have permission to access or perform operations on this resource.", "location": "path" } ], "links": [ { "href": "https://developer.paypal.com/docs/api/payments/v2/#error-PERMISSION_DENIED", "rel": "information_link" } ] } I am able to retrieve the details (GET) of the Order and the capture, and it shows "COMPLETED" as status, but somehow I am not able to refund the capture. FYI I am experiencing the same behavior with both cURL and the Checkout Java SDK (which I am using in my application).   Can you please help me? Am I doing something wrong? Are refunds not allowed in Sandbox?   Thank you very much for your help, Celestino     ... View more
Labels:
  • Labels:
  • Payments REST APIs
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros