Integrate Zen Cart store to eBay with eBay Zen Cart module

Store owners who use Zen Cart for running their stores on the web can now enjoy the luxury of listing, revising and de-listing products on eBay all from their Zen Cart admin panel. Gone are the days when you needed to add products twice (one in each Zen Cart and eBay) and then constantly worry that you do not oversell an item on eBay if the stock inventory has exhausted for that product.

In short, you will need to list your products once and earn forever*.

This facility is tried and tested and running in production environments on Zen Cart stores based in the USA and UK and clients have been more than happy with the results.

You will be able to do the following when you use this module

1. List/revise/delist items on eBay from your Zen Cart admin panel.
2. Maintain separate product title, product price and product description fields for your products on eBay in your Zen Cart Add/Edit product page.
3. Automatic download of orders from eBay to your Zen Cart orders listing page.
4. Automatic creation of customer accounts on your Zen Cart website as soon as order is downloaded from eBay.
5. Automatic synchronization of product stock and price on your eBay store with the price in your Zen Cart store.

Please see attached snap shot for more detail

List/revise/delist items on eBay from your Zen Cart admin panel

eBay order downloaded to your Zen Cart orders listing page

If you would like to have more information regarding this then please contact me today and I will be more than happy to help you out.

* As long as you have inventory for that product -:)

How to remove the Fatal error: SOAP-ERROR: Parsing Schema: unexpected in sequence error?

If you use the eBay API in any way on your website related to your products or orders then you may have come across an issue which happened last week probably around Jan 26 2012. If you call any eBay API method you will encounter the following error message:

Fatal error: SOAP-ERROR: Parsing Schema: unexpected  in sequence in eBaySOAP.php on line 87

Line 87 in eBaySOAP.php comes out to be “parent::__construct($session->wsdl, $session->options);” in the following function

public function __construct(eBaySession $session) {
	$this->session = $session;
	$this->__setHeaders();
	parent::__construct($session->wsdl, $session->options);
}

After much searching I came across this forum post on X.com which recommended that we change the URL of eBay WSDL from http://developer.ebay.com/webservices/latest/eBaySvc.wsdl to http://developer.ebay.com/webservices/753/eBaySvc.wsdl.

Go to line 21 on your eBaySOAP.php file and change the WSDL URL to

$this->wsdl = 'http://developer.ebay.com/webservices/753/eBaySvc.wsdl';

After making the change you should not encounter the error message and everything should work fine.

Comments?

How to start out with eBay Developer program

eBay is one of the world’s largest auction and marketplace where millions of visitors visit each day to trade items online. It offers store owners an opportunity to list their items on eBay and sell them online. eBay also provides its own set of APIs and developers can use them to create applications which they can sell and earn commissions.

If you are a developer and wish to start with eBay API then you would need to register with their eBay Developer website. Click on Join Now and you will be taken to the registration page where you can enter you details and choose your eBay developer ID. After registration is complete and having confirmed your account you can login with your details into the eBay Developer website.

Once you are logged in you can visit the various sections on the website. eBay provides a Sandbox mode which allows you to test your application without incurring any eBay fees. To start using the eBay Sandbox you will need to generate Sandbox keys. Go to Application Keys and select Sandbox and enter the name of your application. eBay will generate the sandbox keys one each for AppID, DevID and CertID. Please note you will be using all of them in your applications.

After creating you Sandbox keys you will need to create 2 sandbox users. One user will be a seller and one will be a buyer. As eBay is a trading platform and as it’s API’s are geared towards one user or the other this step is necessary. Go to My Account page and click on Sandbox User Registration. This step will be needed to be done twice to create user for each type. Please note that emails must be valid otherwise you will not receive any notifications from eBay.

Next step would be to create a user token. You can create a user token for the sandbox buyer or sandbox seller or both. It really depends on what type of application you are building. After eBay generates the user token you will need to save this string some where safe as you will need it along with your sandbox keys.

After doing all of the above steps you can download the SDK for your relevant technology whether it is .NET, Java, JavaScript, Flex or PHP.

Hope the above helps you to start with eBay. If you need further help then do let me know.