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

Jacques Le Roux closed OFBIZ-5528.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 13.07
                   Release Branch 12.04
                   SVN trunk
                   Release Branch 11.04
         Assignee: Jacques Le Roux

Thanks Ritu Raj,

Your patch is in 
trunk r1564111+1564113

Though it was not really a bug (it's funtionnal improvement) I though 
backported because it was really lacking (for a long time)
R13.07 r1564114+1564117
R12.04 r1564115+1564118
R11.04 r1564116+1564119



> Order return is not refunding the money
> ---------------------------------------
>
>                 Key: OFBIZ-5528
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5528
>             Project: OFBiz
>          Issue Type: Bug
>          Components: order
>    Affects Versions: Release Branch 11.04, SVN trunk, Release Branch 12.04, 
> Release Branch 13.07
>            Reporter: Ritu Raj Lakhera
>            Assignee: Jacques Le Roux
>             Fix For: Release Branch 11.04, SVN trunk, Release Branch 12.04, 
> Release Branch 13.07
>
>         Attachments: ofbiz-5528.patch
>
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to