braintree / braintree_java

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

Missing constant in Reason enum #32

Closed hasnainjaved closed 8 years ago

hasnainjaved commented 8 years ago

The client throws the following error when fetching a transaction.

No enum constant com.braintreegateway.Dispute.Reason.UNRECOGNIZED

There is no "UNRECOGNIZED" constant defined in Reason enum.

Kind Regards

jdlc commented 8 years ago

You are correct, Dispute.Reason does not have an UNRECOGNIZED enum, but Dispute.Status and Dispute.Kind do. Is it possible you have selected the wrong enum type? I can't provide further help without more details about your integration, and GitHub isn't the best forum for debugging integrations. I'm closing this issue and encourage you to reach out to Braintree support to provide specific information about your account and integration.