davidtsadler / ebay-sdk-php

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

Call to undefined function httpHandler() #127

Closed omrcm closed 7 years ago

omrcm commented 7 years ago

Hi there, first one thanks for the ebay sdk. I get errors when I try to call $service->getUserToken. The error is Call to undefined function httpHandler(). When I open the file OAuthService.php and go to the error line there is ; $httpHandler = $this->getConfig('httpHandler'); $httpOptions = $this->getConfig('httpOptions');

how can I fix this issue.

Best Regards

omrcm commented 7 years ago

Hi David, I have solve this issue but now getting another one. I try to get user token but it's give me this error;

Client error: POST https://api.sandbox.ebay.com/identity/apiVersion/oauth2/token resulted in a 404 Not Found response: { "errors" : [ { "errorId" : 3003, "domain" : "ROUTING", "category" : "REQUEST", "message" : "Resource (truncated...) }

how can I fix this issue

Best Ragards

davidtsadler commented 7 years ago

I have set-up a forum over at https://forum.devbay.net/ where questions about using the SDK can be raised. It will help as well if you can provide an example of the code that is causing the error.