Fixed bug where eBay itemId was set as order's externaId instead of transactionId; transactionId was also stored in the order but never used.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@951099 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -861,11 +861,10 @@ public class EbayOrderServices {
|
||||
// retrieve transactionId
|
||||
String transactionId = UtilXml.childElementValue(transactionElement, "TransactionID", "");
|
||||
|
||||
// set the externalId and transactionId
|
||||
orderCtx.put("externalId", itemId);
|
||||
orderCtx.put("transactionId", transactionId);
|
||||
// set the externalId
|
||||
orderCtx.put("externalId", transactionId);
|
||||
|
||||
GenericValue orderExist = externalOrderExists(delegator, itemId);
|
||||
GenericValue orderExist = externalOrderExists(delegator, transactionId);
|
||||
if (orderExist != null) {
|
||||
orderCtx.put("orderId", (String) orderExist.get("orderId"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user