You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2007/01/02 23:04:27 UTC

[jira] Commented: (OFBIZ-583) Offline payment selection now prevents completion of sales order

    [ http://issues.apache.org/jira/browse/OFBIZ-583?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461847 ] 

Scott Gray commented on OFBIZ-583:
----------------------------------

Hi Iain

I've had at look at this and the problem is not related to the code block you mention above.  The problem is that the payment methods are never set in the cart so the system keeps thinking that payment is the next step to be completed.  I tried to do it with CC payment to see what it does to get to the next step, but the same problem exists for all payment methods.

I would rather someone who knows more about the check process fixes this as I'm not sure where and when to set the payment method in the cart.

> Offline payment selection now prevents completion of sales order
> ----------------------------------------------------------------
>
>                 Key: OFBIZ-583
>                 URL: http://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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira