braintree / braintree_java

Braintree Java library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
158 stars 98 forks source link

the paypal detail is not the same as the doc #69

Closed wuxiongliu1 closed 5 years ago

wuxiongliu1 commented 5 years ago

General information

Issue description

Transaction.getPayPalDetails() did't has the propperty getRefundFromTransactionFeeAmount as describe in doc https://developers.braintreepayments.com/reference/response/transaction/java#paypal_details.refund_from_transaction_fee_amount

Epreuve commented 5 years ago

Hey @wuxiongliu1 Good catch, and thanks for the heads up. We'll take a look at this and see if we can get this fixed up.

wuxiongliu1 commented 5 years ago

Hey @wuxiongliu1 Good catch, and thanks for the heads up. We'll take a look at this and see if we can get this fixed up.

thank you for you reply, Can I get the RefundFromTransactionFeeAmount from another way ?

Epreuve commented 5 years ago

Not currently, but we're going to get the missing method added in, and I'll post back here once we have a release with it included.

wuxiongliu1 commented 5 years ago

ok, thanks very much . I also have a question about the Dispute fee. Can we get dispute fee from the Dispute entity ?

wuxiongliu1 commented 5 years ago

there is a strong need for the RefundFromTransactionFeeAmount result. Because our project will move to production system. So can I have other ways to fetch this result ?

crookedneighbor commented 5 years ago

Please reach out to our support team for help with your integration

https://help.braintreepayments.com/

wuxiongliu1 commented 5 years ago

I have solve the problem , But I have another question, when partial refund one transaction for many times, but the getRefundFromTransactionFeeAmount always have value , does this mean the paypal will give back the refund fee every time?

crookedneighbor commented 5 years ago

Your best course of action is still to reach out to our support team. https://help.braintreepayments.com