How do we get transaction fee amount from paypal?
问题 I am using PayPal iOS sdk to accept payment from user in my iOS app. I am using sandbox for testing. The payment is working fine, I am getting successful payment response along with Payment_ID. I am passing that Payment_ID to my server and from there using REST API (Show payment details), I am trying to retrieve all the information related to that payment but it is not consistent response. Sometimes I am getting transaction_fee while sometimes it does not return in API response. I see there