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.
... View more