[ https://issues.apache.org/jira/browse/OFBIZ-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462094 ]
Anil K Patel commented on OFBIZ-583: ------------------------------------ I did some research, I think problem is in CheckOutEvents.java in getSelectedPaymentMethods. When a new PaymentMethod is created by the createCreditCard service and paymentMethodId is put in request.Attributes. I think getSelectedPaymentMethods should be modified to also look for paymentMethodId instead of just looking for checkOutPaymentId. But this may not be rights because I don't understand the checkout process in Ordermanager. > Offline payment selection now prevents completion of sales order > ---------------------------------------------------------------- > > Key: OFBIZ-583 > URL: https://issues.apache.org/jira/browse/OFBIZ-583 > Project: Apache OFBiz (The Open for Business Project) > Issue Type: Bug > Components: order > Reporter: Iain Fogg > Priority: Critical > > I upgraded to the latest SVN on the weekend and now I find that when I raise > a Sales Order in the Order Manager, and select OFFLINE as the payment option, > the sale cannot proceed because it complains about no payment method being > selected. > CheckOutEvent.java has undergone some significant changes regarding checkout > processing, and I suspect the following snippet: > methodType = request.getParameter("paymentMethodType"); > if ("offline".equals(methodType)) { > Debug.log("Changing mode from->to: " + mode + "->payment", > module); > mode = "payment"; > } > If I've selected offline payment, shouldn't the mode be set to "addparty", > not "payment"? > Not sure who contributed the most recent changes, but would appreciate a > speedy resolution to this one as I can't do sales orders without it!!! > Cheers, Iain -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira