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

Order return is not refunding the money

    XMLWordPrintableJSON

Details

    Description

      When we placed an order with two items and generate a return towards one item then code is refunding the money correctly.

      But if we again do return for second item then code is not refunding the money because first return-refund process has changed the status of OrderPaymentPreference from 'PAYMENT_SETTLED' to ‘PAYMENT_REFUNDED’.

      I think We should create the new OrderPaymentPreference with PAYMENT_REFUNDED status against old OrderPaymentPreference of 'PAYMENT_SETTLED' status at the time of return-refund process. So second return can also refund the money.

      In other word we should create the new OrderPaymentPreference for each refund amount as we are doing with Payment entity(processRefundResult PaymentGatewayServices.java).

      Attachments

        1. ofbiz-5528.patch
          5 kB
          Ritu Raj Lakhera

        Activity

          People

            jleroux Jacques Le Roux
            rrlakhera Ritu Raj Lakhera
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: