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

Jacopo Cappellato closed OFBIZ-681.
-----------------------------------

    Resolution: Fixed

rev. 543923

> Wrong amount authorized for orders with credit card and billing account
> -----------------------------------------------------------------------
>
>                 Key: OFBIZ-681
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-681
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>            Assignee: Jacopo Cappellato
>             Fix For: SVN trunk
>
>
> I have just realized that the behavior for orders with billing account (store 
> credit) and a credit card is not entirely correct.  When you create the 
> order, the credit card is authorized for the full amount of the order, 
> without considering how much is authorized to the billing account.  When you 
> capture, however, the behavior is correct: the billing account is used up, 
> then the balance is charged to the credit card.
> The net result is that credit cards are over-authorized by the amount of the 
> billing account.
> It seems that OrderPaymentPreference.maxAmount is not set for Credit Card 
> payment methods.  If this is set, then authOrderPaymentPreferences will use 
> it to authorize the correct amount.  This needs to be set somewhere during 
> the storeOrder process.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to