Comments (6)
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.
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.
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.
If you are using the Shopping service you won't need the authToken.
from ebay-sdk-examples.
Information about siteId can be found in the guide http://devbay.net/sdk/guides/guide/configuration.html#siteid
from ebay-sdk-examples.
Okay fine, solved, big thanks. Will drop you an email regarding something other (question of design).
from ebay-sdk-examples.
Related Issues (20)
- Getting item description
- addfixedpriceitem with SellerProfiles - PaymentProfileID, ReturnProfileID, ShippingProfileID HOT 1
- How to get list of all products?
- How to fill "additional ship to location - buyers contact for costs" via api
- Error Status Code: 401 1001: Invalid access token new issue HOT 1
- Uncaught Guzzle Exception 500 on downloadFile of FileTrasfer API HOT 1
- PlaceOrder example missing
- How can I get the tracking number of an Order I placed? HOT 1
- Requesting help how to setup examples
- Error: System currently not available BUT offer gets created HOT 4
- Error: The UPC field is missing. The UPC field is missing. Please add UPC to the listing and try again. HOT 3
- Complete example of UserToken (Oauth) ?
- Always getting Access token is missing in the Authorization HTTP request header.
- ERROR: warning autoload autoload in (trading /get my ebay selling). in core PHP
- curl -sS https://getcomposer.org/installer | php HOT 1
- Trying to fetch conditions value from category id
- How can this be used to get Leaf categories?
- Trading API: Not able to update price
- Uncaught GuzzleHttp\Exception\ServerException: Server error HOT 5
- Couldn't set Intetnational Return policy in AddFixedPriceItem method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ebay-sdk-examples.