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

All profile id's are same and wrong in sandbox #72

Closed enes-sahin closed 7 years ago

enes-sahin commented 7 years ago

While trying to get profile ids by using getSellerProfiles call, all profile ids returns same and wrong integer in sandbox environment. (Using SDK's "ebay-sdk-example/business-policies-management/01-retrieve-all-policies.php" file)

davidtsadler commented 7 years ago

Do you know if your system is using the 32Bit version of PHP? If so you may be encountering the issue mentioned in the guides http://devbay.net/sdk/guides/getting-started/requirements.html#using-the-sdk-with-32-bit-systems

enes-sahin commented 7 years ago

My Server Software : Apache/2.4.23 (Win64) PHP/5.6.25 - Port defined for Apache: 80

davidtsadler commented 7 years ago

What value for each profile id is been returned?

enes-sahin commented 7 years ago

All profile ids are : 2147483647

enes-sahin commented 7 years ago

Ok, 2147483647 is my PHP_INT_MAX. So, I am using 32-bit version. Thank you for your help.

davidtsadler commented 7 years ago

Sounds like it.