Things are looking pretty good now as we are able to display transactions & orders on the same page.
Also we are able to create Orders for "Ebay Orders" & "Ebay Transactions".
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@816473 13f79535-47bb-0310-9956-ffa450edef68
It is not good practice to break the process of exporting to eBay if some product don't have starting price.
Instead of this I have collected all the products in the list that don't have starting price and then returned this list at the end.
Also returned the list of products that has starting price and exported successfully to eBay.
Now after export the screen will looks like: http://farm3.static.flickr.com/2549/3924985627_60903d63bd_b.jpg
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@815696 13f79535-47bb-0310-9956-ffa450edef68
In the request you can send the single item at a time and if you wanted to exported more then one item then you may need to call the same request multiple times.For more details please refer link shown below.
http://developer.ebay.com/DevZone/XML/docs/Reference/eBay/AddItem.html#Request.Item
-- After this commit you can either export one item or more then one item from OFBiz to eBay (OFBiz --> eBay).
-- Moved while loop in the main method so you will also see formating changes.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@815650 13f79535-47bb-0310-9956-ffa450edef68
Following things are done in this patch:
-- Moved commonly used methods to EbayHelper.java file.
-- Created two main methods "readGetOrdersResponse" & "createShoppingCart" to read xml data coming from Ebay and then create order in OFBiz respectively.
-- Also provided sample response XML data that is being generated from Ebay.
-- Changed the UI in which first it was searching orders and then from the orders list we were importing orders.
Now we have only one screen available in which search criteria for order is provided & on the basis of that search criteria order gets imported in OFBiz.
-- Previous work for importing Orders(Not exactly order - it was transaction) is working fine OOTB.
Here are few things that I am thinking to do in this area soon:
-- Improve error handling code - code cleanup.
-- Provide scheduled service UI(or prepare demo data for scheduling job) in which the orders will be imported automatically in the system instead of searching and then importing done by end user. - Thinking the best way to handle it.
Thanks Rishi & Sumit for discussing few things/ issues in b/w the development of this pass.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@814560 13f79535-47bb-0310-9956-ffa450edef68
Add New Address popup of Manage Address page in View profile throwing NullPointerException. (JLR : I suppose it's in the one page checkout, not the profile page from the main title bar see Jira issue for more)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@814168 13f79535-47bb-0310-9956-ffa450edef68
When OrderConfirmNotice screen call OrderNoticeEmail.ftl orderheader.ftl has some uiLabelMap variable without source to translate
+ a space in OrderUiLabels.xml
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813672 13f79535-47bb-0310-9956-ffa450edef68
Here are few reason for this implementation:
-- In "GetSellersTransactions" itemId(ProductId in ebay) is provided in the OrderHeader.externalId field which doesn't seems correct.
-- Suppose we have Single Order created in eBay if some one wins the auction and in that order we have 3 order items.
Then "GetSellersTransaction" call creates three orders in OFBiz for all those three items that are associated with Single Ebay order.
In short "GetSellersTransaction" request treat three item as three transactions.
-- "GetOrders" call will return the list of orders on the basis of search criteria and then we will create(Import) the Order in OFBiz from the resultant list of orders.
-- Current implementation for "GetSellersTransactions" will remain as it is in trunk - as we don't know if someone might be using it in their custom projects.
Also did miscellaneous cleanup.
Thanks Jacopo for providing your notes for this implementation & also discussing issues in b/w development - as always your notes were awesome.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@813444 13f79535-47bb-0310-9956-ffa450edef68