[
https://issues.apache.org/jira/browse/OFBIZ-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sharan Foga updated OFBIZ-1454:
-------------------------------
Sprint: Bug Crush Event - 21/2/2015
> refunds do not work with multiple captures
> ------------------------------------------
>
> Key: OFBIZ-1454
> URL: https://issues.apache.org/jira/browse/OFBIZ-1454
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Reporter: Si Chen
>
> This is a major problem with refunds: if an order were shipped in several
> shipments, then refunds will not work probably because PaymentGatewayServices
> cannot properly match the OrderPaymentPreferences to the amount which needs
> to be refunded. Sometimes it will turn out one of the captures has already
> been refunded, and sometimes it will need to piece together several capture
> payments for refund.
> It might be better to have a ReturnPayment/Preference entity to manage which
> capture to refund, so there is some way to control this, and then to replace
> ReturnItemResponse with a ReturnResponse so that the refund payments don't
> have to be explicitly 1 to 1 with each return item, in case a return item
> needs to be split on two captures that have to be refunded.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)