Code Monkey home page Code Monkey logo

Comments (6)

davidtsadler avatar davidtsadler commented on July 22, 2024

Without seeing how you are creating the service object I can only guess what is going wrong. What I can tell you is that the SDK does not automatically load the credentials from configuration.php. You need to load that file yourself and pass it's contents to the SDK.

Have you read the guide on how to pass credentials to the SDK?

http://devbay.net/sdk/guides/guide/credentials.html

from ebay-sdk-examples.

davidtsadler avatar davidtsadler commented on July 22, 2024

One thing I can see from the error message is that the SDK may be trying to load your credentials from /.ebay_sdk/credentials Ensure that the file exists and that it's a valid ini file format.

from ebay-sdk-examples.

 avatar commented on July 22, 2024

by the way, this seems to be the old branch.
I've used the latest version now. I use this code to create the service object:

// Create te service object.
$service = new Services\ShoppingService([
'authToken' => '',
'credentials' => [
'appId' => ',
'certId' => '',
'devId' => ''
],
'siteId' => 0
]);

What's the "sideId"? Can't find this in the ebay API settings area? And authToken is this endless long token, correct Screenshot

from ebay-sdk-examples.

davidtsadler avatar davidtsadler commented on July 22, 2024

If you are using the Shopping service you won't need the authToken.

from ebay-sdk-examples.

davidtsadler avatar davidtsadler commented on July 22, 2024

Information about siteId can be found in the guide http://devbay.net/sdk/guides/guide/configuration.html#siteid

from ebay-sdk-examples.

 avatar commented on July 22, 2024

Okay fine, solved, big thanks. Will drop you an email regarding something other (question of design).

from ebay-sdk-examples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.