[jira] Created: (OFBIZ-681) Wrong amount authorized for orders with credit card and billing account

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (OFBIZ-681) Wrong amount authorized for orders with credit card and billing account

Nicolas Malin (Jira)
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
             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 | Threaded
Open this post in threaded view
|

[jira] Assigned: (OFBIZ-681) Wrong amount authorized for orders with credit card and billing account

Nicolas Malin (Jira)

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

Jacopo Cappellato reassigned OFBIZ-681:
---------------------------------------

    Assignee: Jacopo Cappellato

> 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 | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-681) Wrong amount authorized for orders with credit card and billing account

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ 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.