- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to find the PayPal "fee" deduction attribute of a payment submitted. I don't see this value provided in the response I get from creating the payment. The payment is properly accepted by PayPal, I can see that payment in my account. What I can't find is the "fee" value that's withdrawn from a payment on the response.
I'm using this PayPalButtons React component from "@paypal/react-paypal-js" to submit those payments (This opens a window to a "https://www.paypal.com/checkoutnow" url) This properly work and processes the provided payment; but the response I receive has no "fee" in the body to say what was taken out from PayPal. I'm super unclear if this is a paypal problem with the response or an issue with this repo not providing that value on said response. I've looked at the payload in the first "then" on the debugger from creating the payment in PayPal; all I can assure anyone is I don't see a fee value there (at the very least obviously).
I'm not trying to grip about on how this is working; I'm just confused about where to pull that necessary info from to store what we actually gained in funds in our system.
Solved! Go to Solution.
- Labels:
-
Payouts Rest APIs
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Was unaware a subsequent request was needed to PayPal's backend for these details. Was able to add in this second fetch to PayPal's service to load my payment, this response does have the captures field with the payment breakdown!
Much Thanks!!

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Paypal create transaction with QR - API in REST APIs
- Django-paypal form is not showing "pay with credit or debit card" option in Braintree Server-side Integration (PHP, Java, .NET, Ruby, Python, NodeJS SDKs)
- Selected Shipping Method amount not updating to cart for card payment in SDKs
- Inquiry About Documentation and Support for Tokenization and Future Payment in Payflow