Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6347

Two order payment preferences are added to order, when order of order total 0(zero) is placed with Billing Account

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Community Day 2 - 2015

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            arunpati Arun Patidar
            Mohammad K Mohammad Kathawala
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Agile

                Completed Sprint:
                Community Day 2 - 2015 ended 22/Jun/15
                View on Board

                Slack

                  Issue deployment