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

Invalid property type provided for StoreCategoryID. Expected integer but got string #250

Closed jumpingtrout closed 5 years ago

jumpingtrout commented 5 years ago

Due to PHP's Integer limit, when I pass a StoreCategory_ID of 34485619011, I receive the error Invalid property type provided for StoreCategoryID. Expected integer but got string.

I tried various methods to bypass this like format_number with no decimal and no comma but same error and I obviously can't cast it to be an integer as its higher than the Int max.

Is my best solution for this to change the type from integer to string in the SDK itself?