From 56b97e5bb11bc4ef476cd76b9df056122d2b25ff Mon Sep 17 00:00:00 2001 From: Hans Bakker Date: Fri, 26 Feb 2010 07:51:20 +0000 Subject: [PATCH] Ebaystore update: Reformat and grouped the source code (auto dispute and auto relisting) to EbayStoreAutoPreferences class and changed the service name of this function. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916603 13f79535-47bb-0310-9956-ffa450edef68 --- .../ebaystore/config/EbayStoreUiLabels.xml | 3 + .../ebaystore/data/DemoEbayStoreData.xml | 1 + .../ebaystore/data/EbayStoreTypeData.xml | 2 + .../org/ofbiz/ebaystore/EbayServices.xml | 4 + .../ebaystore/servicedef/services.xml | 27 +- .../src/org/ofbiz/ebaystore/EbayStore.java | 111 +------ .../ebaystore/EbayStoreAutoPreferences.java | 278 +++++++++++++++++- .../widget/EbaySellingManagerForms.xml | 5 +- .../widget/EbaySellingManagerScreens.xml | 6 +- 9 files changed, 309 insertions(+), 128 deletions(-) diff --git a/specialpurpose/ebaystore/config/EbayStoreUiLabels.xml b/specialpurpose/ebaystore/config/EbayStoreUiLabels.xml index 4614c7af82..ae7162c47c 100644 --- a/specialpurpose/ebaystore/config/EbayStoreUiLabels.xml +++ b/specialpurpose/ebaystore/config/EbayStoreUiLabels.xml @@ -154,6 +154,9 @@ Automation Re-list Items + + Automation Dispute Items + Bought diff --git a/specialpurpose/ebaystore/data/DemoEbayStoreData.xml b/specialpurpose/ebaystore/data/DemoEbayStoreData.xml index 5a8e8cb436..84adecb48b 100644 --- a/specialpurpose/ebaystore/data/DemoEbayStoreData.xml +++ b/specialpurpose/ebaystore/data/DemoEbayStoreData.xml @@ -23,6 +23,7 @@ + + + diff --git a/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayServices.xml b/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayServices.xml index f35bf6f6dd..984a67438f 100644 --- a/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayServices.xml +++ b/specialpurpose/ebaystore/script/org/ofbiz/ebaystore/EbayServices.xml @@ -27,6 +27,10 @@ + + + + diff --git a/specialpurpose/ebaystore/servicedef/services.xml b/specialpurpose/ebaystore/servicedef/services.xml index a22315dae3..269a6f18e0 100644 --- a/specialpurpose/ebaystore/servicedef/services.xml +++ b/specialpurpose/ebaystore/servicedef/services.xml @@ -172,19 +172,6 @@ under the License. - - - - create eBay automatic re-list items - - - - - create eBay automatic re-list items - - - @@ -357,4 +344,18 @@ under the License. location="org.ofbiz.ebaystore.EbayStoreAutoPreferences" invoke="autoSendFeedbackReminderEmail" auth="true"> + + + + + Create Dispute if checkout has not been completed + + + + Create Dispute if checkout has been completed but no payment has been received + + \ No newline at end of file diff --git a/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java b/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java index 6b56a6d5e8..143701c248 100644 --- a/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java +++ b/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStore.java @@ -48,6 +48,7 @@ import org.ofbiz.entity.GenericEntityException; import org.ofbiz.entity.GenericValue; import org.ofbiz.entity.condition.EntityCondition; import org.ofbiz.entity.condition.EntityOperator; +import org.ofbiz.entity.transaction.TransactionUtil; import org.ofbiz.entity.util.EntityUtil; import org.ofbiz.service.DispatchContext; import org.ofbiz.service.GenericServiceException; @@ -63,6 +64,7 @@ import com.ebay.sdk.SdkException; import com.ebay.sdk.SdkSoapException; import com.ebay.sdk.call.*; import com.ebay.soap.eBLBaseComponents.AmountType; +import com.ebay.soap.eBLBaseComponents.CheckoutStatusCodeType; import com.ebay.soap.eBLBaseComponents.CurrencyCodeType; import com.ebay.soap.eBLBaseComponents.DeleteSellingManagerTemplateRequestType; import com.ebay.soap.eBLBaseComponents.DeleteSellingManagerTemplateResponseType; @@ -108,6 +110,7 @@ import com.ebay.soap.eBLBaseComponents.StoreThemeArrayType; import com.ebay.soap.eBLBaseComponents.StoreThemeType; import com.ebay.soap.eBLBaseComponents.StoreType; import com.ebay.soap.eBLBaseComponents.TaskStatusCodeType; +import com.ebay.soap.eBLBaseComponents.UserType; import com.ebay.soap.eBLBaseComponents.VerifyAddSecondChanceItemResponseType; import java.sql.Timestamp; @@ -1494,114 +1497,6 @@ public class EbayStore { } return result; } - public static Map automaticEbayRelistSoldItems(DispatchContext dctx, Map context) { - Mapresult = FastMap.newInstance(); - LocalDispatcher dispatcher = dctx.getDispatcher(); - GenericValue userLogin = (GenericValue) context.get("userLogin"); - Delegator delegator = dctx.getDelegator(); - Locale locale = (Locale) context.get("locale"); - try { - MapserviceMap = FastMap.newInstance(); - serviceMap.put("userLogin", userLogin); - Liststores = delegator.findByAnd("ProductStore", UtilMisc.toMap()); - for(int storeCount=0;storeCountjobs = delegator.findByAnd("JobSandbox", UtilMisc.toMap("authUserLoginId", eBayUserLoginId)); - if(jobs.size() != 0) { - GenericValue job = jobs.get(0); - Timestamp startDateTime = (Timestamp)job.get("startDateTime"); - Timestamp finishDateTime = (Timestamp)job.get("finishDateTime"); - //check can re-list items by eBay account setting - boolean canRelistItems = false; - Timestamp nowTime = UtilDateTime.nowTimestamp(); - if(startDateTime!=null&&finishDateTime!=null) { - if(startDateTime.before(nowTime) && finishDateTime.after(nowTime)) { - canRelistItems = true; - } - }else if(startDateTime!=null&&finishDateTime==null) { - if(startDateTime.before(nowTime)) { - canRelistItems = true; - } - } - if(canRelistItems) { - //save sold items to OFbBiz product entity - Map resultService = dispatcher.runSync("getEbaySoldItems", serviceMap); - List soldItems = (List)resultService.get("soldItems"); - if(soldItems.size()!=0) { - for(int itemCount=0;itemCount activeItemMaps = FastList.newInstance(); - if(activeItems.size()!=0) { - for(int itemCount=0;itemCount inMap = FastMap.newInstance(); - inMap.put("productStoreId", productStoreId); - inMap.put("userLogin", userLogin); - Map resultUser = dispatcher.runSync("getEbayStoreUser", inMap); - String userID = (String)resultUser.get("userLoginId"); - ApiContext apiContext = EbayStoreHelper.getApiContext(productStoreId, locale, delegator); - for(int itemRelist=0;itemRelist getSellingInventory(DispatchContext dctx, Map context) { Locale locale = (Locale) context.get("locale"); diff --git a/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java b/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java index 650de8341a..ba2ef38833 100644 --- a/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java +++ b/specialpurpose/ebaystore/src/org/ofbiz/ebaystore/EbayStoreAutoPreferences.java @@ -18,9 +18,11 @@ */ package org.ofbiz.ebaystore; +import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Collections; +import java.util.Date; import java.util.List; import java.util.Locale; import java.util.Map; @@ -31,6 +33,7 @@ import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import javolution.util.FastList; +import javolution.util.FastMap; import org.ofbiz.base.util.Debug; import org.ofbiz.base.util.UtilDateTime; @@ -40,6 +43,8 @@ import org.ofbiz.base.util.UtilValidate; import org.ofbiz.entity.Delegator; import org.ofbiz.entity.GenericEntityException; import org.ofbiz.entity.GenericValue; +import org.ofbiz.entity.condition.EntityCondition; +import org.ofbiz.entity.condition.EntityOperator; import org.ofbiz.service.DispatchContext; import org.ofbiz.service.GenericServiceException; import org.ofbiz.service.LocalDispatcher; @@ -48,18 +53,25 @@ import org.ofbiz.service.ServiceUtil; import com.ebay.sdk.ApiContext; import com.ebay.sdk.ApiException; import com.ebay.sdk.SdkException; +import com.ebay.sdk.call.AddDisputeCall; import com.ebay.sdk.call.GetSellingManagerSoldListingsCall; import com.ebay.sdk.call.GetUserCall; import com.ebay.sdk.call.LeaveFeedbackCall; +import com.ebay.sdk.call.RelistItemCall; import com.ebay.soap.eBLBaseComponents.AutomatedLeaveFeedbackEventCodeType; import com.ebay.soap.eBLBaseComponents.CommentTypeCodeType; +import com.ebay.soap.eBLBaseComponents.DetailLevelCodeType; +import com.ebay.soap.eBLBaseComponents.DisputeExplanationCodeType; +import com.ebay.soap.eBLBaseComponents.DisputeReasonCodeType; import com.ebay.soap.eBLBaseComponents.FeedbackDetailType; +import com.ebay.soap.eBLBaseComponents.ItemType; import com.ebay.soap.eBLBaseComponents.SellingManagerOrderStatusType; import com.ebay.soap.eBLBaseComponents.SellingManagerPaidStatusCodeType; import com.ebay.soap.eBLBaseComponents.SellingManagerShippedStatusCodeType; import com.ebay.soap.eBLBaseComponents.SellingManagerSoldListingsSortTypeCodeType; import com.ebay.soap.eBLBaseComponents.SellingManagerSoldOrderType; import com.ebay.soap.eBLBaseComponents.SellingManagerSoldTransactionType; +import com.ebay.soap.eBLBaseComponents.UserType; public class EbayStoreAutoPreferences { public static String module = EbayStoreAutoPreferences.class.getName(); @@ -233,7 +245,6 @@ public class EbayStoreAutoPreferences { return "success"; } - /* start automatically service send a Feedback Reminder email if feedback has not been received. and check how many days after shipping you want this email sent? */ public static Map autoSendFeedbackReminderEmail(DispatchContext dctx, Map context) throws ApiException, SdkException, Exception{ Delegator delegator = dctx.getDelegator(); @@ -309,4 +320,269 @@ public class EbayStoreAutoPreferences { return ServiceUtil.returnSuccess(); } + public static Map automaticEbayRelistSoldItems(DispatchContext dctx, Map context) { + Mapresult = FastMap.newInstance(); + LocalDispatcher dispatcher = dctx.getDispatcher(); + Delegator delegator = dctx.getDelegator(); + Locale locale = (Locale) context.get("locale"); + String jobId = (String) context.get("jobId"); + try { + GenericValue userLogin = delegator.findOne("UserLogin", false, "userLoginId", "system"); + MapserviceMap = FastMap.newInstance(); + serviceMap.put("userLogin", userLogin); + Liststores = delegator.findByAnd("ProductStore", UtilMisc.toMap()); + //ProductStore + List productStores = delegator.findByAnd("EbayProductStorePref", UtilMisc.toMap("autoPrefJobId", jobId)); + if (productStores.size() != 0) { + // get auto preference setting + String productStoreId = productStores.get(0).getString("productStoreId"); + String condition1 = productStores.get(0).getString("condition1"); + String condition2 = productStores.get(0).getString("condition2"); + // convert preference setting + Timestamp fromDate = UtilDateTime.toTimestamp(condition1); + Timestamp thruDate = UtilDateTime.toTimestamp(condition2); + Timestamp nowTime = UtilDateTime.nowTimestamp(); + if (nowTime.after(fromDate) && nowTime.before(thruDate)) { + serviceMap.put("productStoreId", productStoreId); + Map eBayUserLogin = dispatcher.runSync("getEbayStoreUser", serviceMap); + String eBayUserLoginId = (String)eBayUserLogin.get("userLoginId"); + GenericValue party = delegator.findByPrimaryKey("UserLogin", UtilMisc.toMap("userLoginId", eBayUserLoginId)); + String partyId = party.getString("partyId"); + //save sold items to OFbBiz product entity + Map resultService = dispatcher.runSync("getEbaySoldItems", serviceMap); + List soldItems = (List) resultService.get("soldItems"); + if (soldItems.size()!=0) { + for (int itemCount = 0; itemCount < soldItems.size(); itemCount++) { + Map soldItemMap = (Map)soldItems.get(itemCount); + if (UtilValidate.isNotEmpty(soldItemMap.get("itemId"))) { + GenericValue productCheck = delegator.findByPrimaryKey("Product", UtilMisc.toMap("productId", soldItemMap.get("itemId"))); + if (productCheck == null) { + MapinMap = FastMap.newInstance(); + inMap.put("productId", soldItemMap.get("itemId")); + inMap.put("productTypeId", "EBAY_ITEM"); + inMap.put("internalName", "eBay Item " + soldItemMap.get("title")); + inMap.put("userLogin", userLogin); + dispatcher.runSync("createProduct", inMap); + // ProductRole (VENDOR) + List productRole = delegator.findByAnd("ProductRole", UtilMisc.toMap("partyId", partyId, "productId", soldItemMap.get("itemId"), "roleTypeId", "VENDOR")); + if (productRole.size() == 0) { + MapaddRole = FastMap.newInstance(); + addRole.put("productId", soldItemMap.get("itemId")); + addRole.put("roleTypeId", "VENDOR"); + addRole.put("partyId", partyId); + addRole.put("fromDate", UtilDateTime.nowTimestamp()); + addRole.put("userLogin", userLogin); + dispatcher.runSync("addPartyToProduct", addRole); + } + } + } + } + } + //check active items + serviceMap = FastMap.newInstance(); + serviceMap.put("userLogin", userLogin); + serviceMap.put("productStoreId", productStoreId); + resultService = dispatcher.runSync("getEbayActiveItems", serviceMap); + List activeItems = (List) resultService.get("activeItems"); + List activeItemMaps = FastList.newInstance(); + if (activeItems.size() != 0) { + for (int itemCount = 0; itemCount < activeItems.size(); itemCount++) { + Map activeItemMap = (Map)activeItems.get(itemCount); + if (UtilValidate.isNotEmpty(activeItemMap.get("itemId"))) { + activeItemMaps.add((String)activeItemMap.get("itemId")); + } + } + } + //check product role + ListproductRoles = delegator.findByAnd("ProductRole", UtilMisc.toMap("partyId", partyId, "roleTypeId", "VENDOR")); + ListproductRoleIds = FastList.newInstance(); + if (productRoles.size() != 0) { + for (int itemCount = 0; itemCount < productRoles.size(); itemCount++) { + String productId = productRoles.get(itemCount).getString("productId"); + productRoleIds.add(productId); + } + } + List andExpr = FastList.newInstance(); + EntityCondition activeItemCond = EntityCondition.makeCondition("productId", EntityOperator.NOT_IN, activeItemMaps); + andExpr.add(activeItemCond); + EntityCondition productTypeCond = EntityCondition.makeCondition("productTypeId", EntityOperator.EQUALS, "EBAY_ITEM"); + andExpr.add(productTypeCond); + EntityCondition isVirtualCond = EntityCondition.makeCondition("isVirtual", EntityOperator.NOT_EQUAL, "Y"); + andExpr.add(isVirtualCond); + EntityCondition productRole = EntityCondition.makeCondition("productId", EntityOperator.IN, productRoleIds); + andExpr.add(productRole); + EntityCondition andCond = EntityCondition.makeCondition(andExpr, EntityOperator.AND); + List itemsToRelist = delegator.findList("Product", andCond, null, null, null, false); + if (itemsToRelist.size() != 0) { + //re-list sold items and not active + Map inMap = FastMap.newInstance(); + inMap.put("productStoreId", productStoreId); + inMap.put("userLogin", userLogin); + Map resultUser = dispatcher.runSync("getEbayStoreUser", inMap); + String userID = (String) resultUser.get("userLoginId"); + ApiContext apiContext = EbayStoreHelper.getApiContext(productStoreId, locale, delegator); + for (int itemRelist = 0; itemRelist < itemsToRelist.size(); itemRelist++) { + RelistItemCall relistItemCall = new RelistItemCall(apiContext); + ItemType itemToBeRelisted = new ItemType(); + GenericValue product = (GenericValue)itemsToRelist.get(itemRelist); + itemToBeRelisted.setItemID(product.getString("productId")); + relistItemCall.setItemToBeRelisted(itemToBeRelisted); + relistItemCall.relistItem(); + GenericValue productStore = delegator.findByPrimaryKey("Product", UtilMisc.toMap("productId", product.getString("productId"))); + productStore.set("isVirtual", "Y"); + productStore.store(); + Debug.logInfo("Relisted Item - " + product.getString("productId"), module); + } + } + } + } + } catch (Exception e) { + return ServiceUtil.returnError(e.getMessage()); + } + return ServiceUtil.returnSuccess(); + } + public static Map automaticEbayDisputeNotComplete(DispatchContext dctx, Map context) { + Mapresult = FastMap.newInstance(); + LocalDispatcher dispatcher = dctx.getDispatcher(); + Delegator delegator = dctx.getDelegator(); + Locale locale = (Locale) context.get("locale"); + String jobId = (String) context.get("jobId"); + try { + GenericValue userLogin = delegator.findOne("UserLogin", false, "userLoginId", "system"); + List productStores = delegator.findByAnd("EbayProductStorePref", UtilMisc.toMap("autoPrefJobId", jobId)); + if (productStores.size() != 0) { + // get automatic setting + String productStoreId = productStores.get(0).getString("productStoreId"); + String condition1 = productStores.get(0).getString("condition1"); + String condition2 = productStores.get(0).getString("condition2"); + String condition3 = productStores.get(0).getString("condition3"); + // convert automatic setting for usage + int afterDays = 0; + if (UtilValidate.isInteger(condition1)) { + afterDays = Integer.parseInt(condition1); + } + DisputeReasonCodeType disputeReason = null; + if (UtilValidate.isNotEmpty(condition2)) { + disputeReason = DisputeReasonCodeType.valueOf(condition2); + } + DisputeExplanationCodeType disputeExplanation = null; + if (UtilValidate.isNotEmpty(condition3)) { + disputeExplanation = DisputeExplanationCodeType.valueOf(condition3); + } + // get sold items + MapserviceMap = FastMap.newInstance(); + serviceMap.put("productStoreId", productStoreId); + serviceMap.put("userLogin", userLogin); + Map resultService = dispatcher.runSync("getEbaySoldItems", serviceMap); + List soldItems = (List) resultService.get("soldItems"); + // check items to dispute + ListitemsToDispute = FastList.newInstance(); + for (int itemCount = 0; itemCount < soldItems.size(); itemCount++) { + Map item = (Map) soldItems.get(itemCount); + String checkoutStatus = (String) item.get("checkoutStatus"); + Date creationTime = (Date) item.get("creationTime"); + Date paidTime = (Date) item.get("paidTime"); + String unpaidItemStatus = (String) item.get("unpaidItemStatus"); + int checkDays = UtilDateTime.getIntervalInDays(UtilDateTime.toTimestamp(creationTime), UtilDateTime.nowTimestamp()); + if (checkDays > afterDays && "CheckoutIncomplete".equals(checkoutStatus) && unpaidItemStatus == null && paidTime == null && checkoutStatus != "CheckoutComplete") { + itemsToDispute.add(item); + } + } + // Dispute items + if (disputeReason != null && disputeExplanation != null && itemsToDispute.size() != 0) { + ApiContext apiContext = EbayStoreHelper.getApiContext(productStoreId, locale, delegator); + DetailLevelCodeType[] detailLevels = new DetailLevelCodeType[] { + DetailLevelCodeType.RETURN_ALL, + DetailLevelCodeType.ITEM_RETURN_ATTRIBUTES, + DetailLevelCodeType.ITEM_RETURN_DESCRIPTION + }; + for (int count = 0; count < itemsToDispute.size(); count++) { + Mapitem = itemsToDispute.get(count); + AddDisputeCall api = new AddDisputeCall(apiContext); + api.setDetailLevel(detailLevels); + api.setItemID((String)item.get("itemId")); + api.setTransactionID((String)item.get("transactionId")); + api.setDisputeExplanation(disputeExplanation); + api.setDisputeReason(disputeReason); + String id = api.addDispute(); + } + } + } + } catch (Exception e) { + return ServiceUtil.returnError(e.getMessage()); + } + return ServiceUtil.returnSuccess(); + } + public static Map automaticEbayDisputeNotPay(DispatchContext dctx, Map context) { + Mapresult = FastMap.newInstance(); + LocalDispatcher dispatcher = dctx.getDispatcher(); + Delegator delegator = dctx.getDelegator(); + Locale locale = (Locale) context.get("locale"); + String jobId = (String) context.get("jobId"); + try { + GenericValue userLogin = delegator.findOne("UserLogin", false, "userLoginId", "system"); + List productStores = delegator.findByAnd("EbayProductStorePref", UtilMisc.toMap("autoPrefJobId", jobId)); + if (productStores.size() != 0) { + // get automatic setting + String productStoreId = productStores.get(0).getString("productStoreId"); + String condition1 = productStores.get(0).getString("condition1"); + String condition2 = productStores.get(0).getString("condition2"); + String condition3 = productStores.get(0).getString("condition3"); + // convert automatic setting for usage + int afterDays = 0; + if (UtilValidate.isInteger(condition1)) { + afterDays = Integer.parseInt(condition1); + } + DisputeReasonCodeType disputeReason = null; + if (UtilValidate.isNotEmpty(condition2)) { + disputeReason = DisputeReasonCodeType.valueOf(condition2); + } + DisputeExplanationCodeType disputeExplanation = null; + if (UtilValidate.isNotEmpty(condition3)) { + disputeExplanation = DisputeExplanationCodeType.valueOf(condition3); + } + // get sold items + MapserviceMap = FastMap.newInstance(); + serviceMap.put("productStoreId", productStoreId); + serviceMap.put("userLogin", userLogin); + Map resultService = dispatcher.runSync("getEbaySoldItems", serviceMap); + List soldItems = (List) resultService.get("soldItems"); + // check items to dispute + ListitemsToDispute = FastList.newInstance(); + for (int itemCount = 0; itemCount < soldItems.size(); itemCount++) { + Map item = (Map) soldItems.get(itemCount); + String checkoutStatus = (String) item.get("checkoutStatus"); + Date creationTime = (Date) item.get("creationTime"); + Date paidTime = (Date) item.get("paidTime"); + String unpaidItemStatus = (String) item.get("unpaidItemStatus"); + int checkDays = UtilDateTime.getIntervalInDays(UtilDateTime.toTimestamp(creationTime), UtilDateTime.nowTimestamp()); + if (checkDays > afterDays && unpaidItemStatus == null && paidTime == null && checkoutStatus == "CheckoutComplete") { + itemsToDispute.add(item); + } + } + // Dispute items + if (disputeReason != null && disputeExplanation != null && itemsToDispute.size() != 0) { + ApiContext apiContext = EbayStoreHelper.getApiContext(productStoreId, locale, delegator); + DetailLevelCodeType[] detailLevels = new DetailLevelCodeType[] { + DetailLevelCodeType.RETURN_ALL, + DetailLevelCodeType.ITEM_RETURN_ATTRIBUTES, + DetailLevelCodeType.ITEM_RETURN_DESCRIPTION + }; + for (int count = 0; count < itemsToDispute.size(); count++) { + Mapitem = itemsToDispute.get(count); + AddDisputeCall api = new AddDisputeCall(apiContext); + api.setDetailLevel(detailLevels); + api.setItemID((String)item.get("itemId")); + api.setTransactionID((String)item.get("transactionId")); + api.setDisputeExplanation(disputeExplanation); + api.setDisputeReason(disputeReason); + String id = api.addDispute(); + } + } + } + } catch (Exception e) { + return ServiceUtil.returnError(e.getMessage()); + } + return ServiceUtil.returnSuccess(); + } } diff --git a/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml b/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml index 08b2cccad2..0625ce44e8 100644 --- a/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml +++ b/specialpurpose/ebaystore/widget/EbaySellingManagerForms.xml @@ -27,9 +27,8 @@ value="${bsh:billingAccount != null ? org.ofbiz.accounting.payment.BillingAccoun - - - + + diff --git a/specialpurpose/ebaystore/widget/EbaySellingManagerScreens.xml b/specialpurpose/ebaystore/widget/EbaySellingManagerScreens.xml index 47e737d561..669aafaf52 100644 --- a/specialpurpose/ebaystore/widget/EbaySellingManagerScreens.xml +++ b/specialpurpose/ebaystore/widget/EbaySellingManagerScreens.xml @@ -289,8 +289,8 @@ - - + + @@ -302,7 +302,7 @@