[Contribution] osc2ebay - oscommerce to ebay synchronization
#1
Posted 27 March 2012 - 09:44 AM
your ebay shop.
http://addons.oscommerce.com/info/8388
#2
Posted 27 March 2012 - 01:58 PM
Can you give a little more information on what this mod does and how it operates?
Thanks
If you want to see the mods I have installed, then see my profile.
#3
Posted 28 March 2012 - 07:03 PM
found this post on another group, but links to a dead page, perhaps the same mod?
http://www.oscmax.com/forums/new-oscommerce-contributions/25429-integrazione-oscommerce-ed-api-ebay-oscommerce-integration-api-ebay.html
#4
Posted 30 March 2012 - 01:47 PM
This contribution is completely web-based, it use SOAP and the ebay API to synchronize items.
please look at http://developer.ebay.com/devzone/xml/docs/reference/ebay/index.html for ebay API documentation.
it requires small changes to work.
#5
Posted 02 April 2012 - 07:55 AM
#6
Posted 02 April 2012 - 11:43 AM
Can anyone give a detailed installation steps and requirements for this addon.
Thanks in advance..
Surya
#7
Posted 14 April 2012 - 01:33 PM
#8
Posted 16 April 2012 - 05:09 PM
When i click on ebay Sync Items (this is from adnim menu in left): Warning: Invalid argument supplied for foreach() in /home/kinyx/worldcleaningproducts.com/admin2008/ebay_syncitems.php on line 644
When click on Ebay Only items: Warning: Invalid argument supplied for foreach() in /home/kinyx/worldcleaningproducts.com/admin2008/ebay_syncitems.php on line 242
When click on AutoLink Ebay items: Warning: Invalid argument supplied for foreach() in /home/kinyx/worldcleaningproducts.com/admin2008/ebay_syncitems.php on line 299
Thx for help!!
Edited by realdark, 16 April 2012 - 05:10 PM.
#9
Posted 02 May 2012 - 09:56 AM
#10
Posted 24 May 2012 - 09:56 AM
#11
Posted 24 May 2012 - 11:59 AM
#12
Posted 24 May 2012 - 03:06 PM
Fatal error: Class 'SoapClient' not found in /var/www/vhosts/.../httpdocs/osc/catalog/ebay_common.php on line 237
when try to add a product in admin section
#13
Posted 24 May 2012 - 05:34 PM
simple changes were made so the page display correctly.
#14
Posted 24 May 2012 - 07:43 PM
#15
Posted 25 May 2012 - 04:24 PM
now i am having two issues
1-although categories are downloaded from ebay and entered in the db table. it does not show in the categories drop down form.
2-when i want to add an item i get the following error
Response: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode> <faultstring>Input data is invalid.</faultstring> <faultactor>http://www.ebay.com/ws/websvc/eBayAPI</faultactor> <detail> <FaultDetail> <ErrorCode>37</ErrorCode> <Severity>Error</Severity> <DetailedMessage>Input data for tag <Item.Site> is invalid or missing. Please check API documentation.</DetailedMessage> </FaultDetail> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>
Edited by tedbooks, 25 May 2012 - 04:26 PM.
#16
Posted 27 May 2012 - 01:40 AM
Seems like a really great contribution that is much needed by many users of oscommerce. To test 'osc2ebay' I have installed a fresh installation OSC 2.2 and used all the supplied patched files and updated the config file to what I believe is correct.
The only problem is I can not get past the following error when trying to 'Add an item to eBay':
I receive this response:
Response:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Server</faultcode>
<faultstring>Input data is invalid.</faultstring>
<faultactor>http://www.ebay.com/ws/websvc/eBayAPI</faultactor>
<detail>
<FaultDetail>
<ErrorCode>37</ErrorCode>
<Severity>Error</Severity>
<DetailedMessage>Input data for tag <Item.Storefront.StoreCategoryID> is invalid or missing. Please check API documentation.</DetailedMessage>
</FaultDetail>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
And when I go to "ebay Get Categories" in OSC admin and click on "Update Categories" button I get the following:
12493 categories inserted successfully!
get store categories error
"Back To Products Page" "Back"
When I then go back to "ebay Get Categories" in OSC admin there is the following:
current categories - Drop down box with many categories
current store categories - Drop down box empty
Please can you help?
Many Thanks,
Jamie
get store categories error.jpg 92.84K
45 downloads
current store categories - drop down box empty.jpg 95.1K
44 downloads
#17
Posted 27 May 2012 - 11:06 PM
suggestion for Hozone
a- ability to add an item as auction
b-ability to deal with the sale from the store like feedback adding tracking number and so on
c-ability to limit the categories in ebay_addproducts.php it might be done by adding a drop down of primary categories in the beginning like the attributes.
this is one great addon and i really am loving it. thank you
Edited by tedbooks, 27 May 2012 - 11:07 PM.
#18
Posted 29 May 2012 - 03:23 AM
Unfortunately not, as I have tried it with the default categories that come supplied with OSC 2.2 RC2 and have also tried again after adding some new categories and products. Have also tried on 2 servers 1 running php 5.2.9 and the other 5.3 but still get the same errors - I have been told SOAP is installed and enabled. Will probably be something really simple but I'm not really much of an expert with this sort of thing.
Does it matter what version the 'eBaySvc.wsdl' file is?
Thanks,
Jamie
Edited by stephens210180, 29 May 2012 - 03:24 AM.
#19
Posted 29 May 2012 - 09:12 PM
stephens210180, on 29 May 2012 - 03:23 AM, said:
Thanks,
Jamie
try adding a category to ebay_categoriesstore table
or comment out these lines in ebay_addproducts.php
// 'Storefront' => array( // 'StoreCategory2ID' => $StoreCategoryID, // 'StoreCategoryID' => $StoreCategoryID // ),
Edited by tedbooks, 29 May 2012 - 09:22 PM.
#20
Posted 30 May 2012 - 03:28 PM
tedbooks, on 29 May 2012 - 09:12 PM, said:
try adding a category to ebay_categoriesstore table
or comment out these lines in ebay_addproducts.php
// 'Storefront' => array( // 'StoreCategory2ID' => $StoreCategoryID, // 'StoreCategoryID' => $StoreCategoryID // ),
Thanks Ted, making progress now.
Added some categories in my ebay store and the errors I was getting have now gone and the categories added on ebay are now in Showing up in my OSC website.
I now get the following when adding a product (in oscommerce admin) to ebay:
ebay Add Item [img]http://www.computers4-u.co.uk/back/images/pixel_trans.gif[/img] Errors
Catchable fatal error: Object of class stdClass could not be converted to string in/home/comput4/public_html/back/ebay_addproducts.php on line 170
The code is:
print "Errors<br />";
if($results->Errors != null)
foreach($results->Errors as $key => $value)
if($key == "LongMessage") echo $value."<br />";
echo "<br />";
If I comment this code out I get the request and the following Response:
Response:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<AddItemResponse xmlns="urn:ebay:apis:eBLBaseComponents">
<Timestamp>2012-05-30T15:21:03.229Z</Timestamp>
<Ack>Failure</Ack>
<Errors>
<ShortMessage>Shipping service is not available.</ShortMessage>
<LongMessage>Shipping service Corriere espresso(10110) is not available.</LongMessage>
<ErrorCode>12519</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>Corriere espresso(10110)</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Errors>
<ShortMessage>Shipping service is not available.</ShortMessage>
<LongMessage>Shipping service Ritiro in zona(10151) is not available.</LongMessage>
<ErrorCode>12519</ErrorCode>
<SeverityCode>Error</SeverityCode>
<ErrorParameters ParamID="0">
<Value>Ritiro in zona(10151)</Value>
</ErrorParameters>
<ErrorClassification>RequestError</ErrorClassification>
</Errors>
<Version>773</Version>
<Build>E773_INTL_BUNDLED_14839591_R1</Build>
</AddItemResponse>
</soapenv:Body>
</soapenv:Envelope>
Any ideas on what the cause of this problem maybe please?
Again thanks for your help.
Many Thanks,
Jamie









