eWAYPayment / eway-rapid-java

eWAY Rapid Java library
https://www.eway.com.au/
MIT License
5 stars 7 forks source link

Problem with refunds: UnrecognizedPropertyException: Unrecognized field "AuthorisationID" #2

Closed davidwebster48 closed 8 years ago

davidwebster48 commented 8 years ago

When trying to process a refund I get an error. Please find my log attached. refund_error_log.txt

incarnate commented 8 years ago

Thanks for the raising the issue and the attached log David. Some extra fields were added to the Refund response at the end of last year and the eWAY Java SDK can't handle new fields, which is clearly a problem.

I've got a fix almost ready so that unknown fields will be ignored, it should be released tomorrow morning (version 1.1.1).

incarnate commented 8 years ago

eWAY Java SDK v1.1.1 is now up on Maven Central, it will ignore any fields that Rapid sends that aren't mapped.

Thanks again for the bug report David!