You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2015/08/01 11:04:04 UTC

[jira] [Updated] (OFBIZ-6347) Two order payment preferences are added to order, when order of order total 0(zero) is placed with Billing Account

     [ https://issues.apache.org/jira/browse/OFBIZ-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux updated OFBIZ-6347:
-----------------------------------
    Fix Version/s: Upcoming Branch
                   13.07.03
                   12.04.06
                   14.12.01

Backported in R12.04 at r1693691

Put versions changed in "Fix Version/s" field

> Two order payment preferences are added to order, when order of order total 0(zero) is placed with Billing Account
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6347
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6347
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Trunk, 14.12.01
>            Reporter: Mohammad Kathawala
>            Assignee: Arun Patidar
>            Priority: Minor
>             Fix For: 14.12.01, 12.04.06, 13.07.03, Upcoming Branch
>
>         Attachments: OFBIZ-6347.patch
>
>
> Scenario:
>       Place an order of order total zero(0) with Billing Account as payment option.
> Issue:
>       Order gets placed successfully, but order payment preference of billing account gets created twice.
> Steps to generate the issue:
> 1) Add promotions of Free Shipping and Free Tax from catalog for order
> 2) Go to order entry process and add customer
> 3) Add product to order and make its price 0.00 so that the cart total will be 0.00
> 4) Finalize order with Billing Account as Payment option and Create Order.
> Reason:
> The code written for creating order payment preferences in 'makeAllOrderPaymentInfos' of ShoppingCart.java is creating issue.
> There is no need to create the order payment preference after recalculating Billing account amount as it is done later in the CartPaymentInfo loop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)