[
https://issues.apache.org/jira/browse/OFBIZ-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacopo Cappellato closed OFBIZ-104.
-----------------------------------
> Re-factor PaymentGatewayServices processCaptureResult
> -----------------------------------------------------
>
> Key: OFBIZ-104
> URL:
https://issues.apache.org/jira/browse/OFBIZ-104> Project: OFBiz (The Open for Business Project)
> Issue Type: Improvement
> Components: accounting
> Reporter: Si Chen
> Assigned To: Si Chen
> Priority: Minor
>
> Re-factor the processCaptureResult method which gets the invoiceId to use the Invoice for the parties on the Payment, instead of looking up OrderRole itself like this:
> String orderId = paymentPreference.getString("orderId");
> List orl = null;
> try {
> orl = delegator.findByAnd("OrderRole", UtilMisc.toMap("orderId", orderId, "roleTypeId", "BILL_TO_CUSTOMER"));
> } catch (GenericEntityException e) {
> Debug.logError(e, module);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.