Closed hyptos closed 10 years ago
OK I was creating the object $service in the wrong way
$service = new TradingService(array(
'apiVersion' => 873,
'siteId' => SiteIds::FR,
'authToken' => $config['production']['userToken'],
'devId' => $config['production']['devId'],
'appId' => $config['production']['appId'],
'certId' => $config['production']['certId'],
));
and also
$item->Site = Enums\SiteCodeType::C_FRANCE;
Now it's fine except I am not able to ship with US selection which is normal :+1:
I will edit this post with the full good code
Nice job man for the API
Bonjour Antoine,
I will look at getting an AddItem example written in the next few days. It's been on my todo list for a while so I should really get it done.
Kind Regards, David
Hi,
Well, I got it working after a few tries :)
But I'm looking forward to your examples, especially the AddItems one.
Regards,
Bumped into the same issue, lost several hours then finally found this thread, thanks! :+1:
Hi,
I'm openning this in order to have an example to create a product on ebay via your API.
I saw your example there : https://github.com/davidtsadler/ebay-sdk-trading/issues/1#issuecomment-35777796
I updated your code to the current API (refactoring names only)
I don't know why I got this error because even though I injected the token like you shows us on the tutorial :/
It says that headers "X-EBAY-API-HERP-NAME" doesn't exist.
Here is the code I use
Some help would be nice even though I feel stupid because it's an authentification problem.