You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Si Chen (JIRA)" <ji...@apache.org> on 2006/07/27 01:15:15 UTC
[jira] Resolved: (OFBIZ-104) Re-factor PaymentGatewayServices
processCaptureResult
[ http://issues.apache.org/jira/browse/OFBIZ-104?page=all ]
Si Chen resolved OFBIZ-104.
---------------------------
Resolution: Fixed
> Re-factor PaymentGatewayServices processCaptureResult
> -----------------------------------------------------
>
> Key: OFBIZ-104
> URL: http://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.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira