davidtsadler / ebay-sdk-php

An eBay SDK for PHP. Use the eBay API in your PHP projects.
Apache License 2.0
349 stars 341 forks source link

POST ORDER CancelSummary: UnknownPropertyExceptions #86

Closed kevinantonacci closed 7 years ago

kevinantonacci commented 7 years ago

First of all, thank you for putting this package together. It's made the eBay integration process a breeze.

When running a searchCancellations call, I was running into the following exceptions:

Digging further, I noticed that both properties were missing from the CancelSummary class. I added the cancelState property as a string and changed the 'status' property which already existed in the class to 'cancelStatus'. After those changes, I no longer received the error and retrieved the response successfully from eBay.

Thanks!

kevinantonacci commented 7 years ago

I've submitted a PR with these fixes, thanks again.