[jira] Created: (OFBIZ-120) Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods

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

[jira] Created: (OFBIZ-120) Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods

Nicolas Malin (Jira)
Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods
-----------------------------------------------------------------------------------------------

                 Key: OFBIZ-120
                 URL: http://issues.apache.org/jira/browse/OFBIZ-120
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: order
    Affects Versions: SVN trunk
            Reporter: Si Chen
             Fix For: SVN trunk


To support splitting of order payments between multiple payment methods and billing account more efficiently, we will add an OrderPaymentPreference of EXT_BILL_ACT when a billing account is used for paying on an order.  The billingAccountId will still be on the OrderHeader.  

Each OrderPaymentPreference will have a maxAmount for the amount to be captured to this payment method.

The captureOrderPayments service will use this maxAmount to determine how much to capture to the billing account, instead of just using the maximum balance left on the billing account.

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-120) Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods

Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-120?page=all ]

Leon Torres updated OFBIZ-120:
------------------------------

    Attachment: billingAccount.patch

The billingAccount.patch is the initial attempt at satisfying this requirement.  There's more work to be done:  set the maxAmount for all payment methods, verify all use cases work, and make sure the amounts get invoiced correctly across payment methods.

> Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-120
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-120
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: billingAccount.patch
>
>
> To support splitting of order payments between multiple payment methods and billing account more efficiently, we will add an OrderPaymentPreference of EXT_BILL_ACT when a billing account is used for paying on an order.  The billingAccountId will still be on the OrderHeader.  
> Each OrderPaymentPreference will have a maxAmount for the amount to be captured to this payment method.
> The captureOrderPayments service will use this maxAmount to determine how much to capture to the billing account, instead of just using the maximum balance left on the billing account.

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-120) Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-120?page=comments#action_12425826 ]
           
Leon Torres commented on OFBIZ-120:
-----------------------------------

That patch also fixes numerous bugs in the legacy ftl and servlet code.

> Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-120
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-120
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: billingAccount.patch
>
>
> To support splitting of order payments between multiple payment methods and billing account more efficiently, we will add an OrderPaymentPreference of EXT_BILL_ACT when a billing account is used for paying on an order.  The billingAccountId will still be on the OrderHeader.  
> Each OrderPaymentPreference will have a maxAmount for the amount to be captured to this payment method.
> The captureOrderPayments service will use this maxAmount to determine how much to capture to the billing account, instead of just using the maximum balance left on the billing account.

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (OFBIZ-120) Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-120?page=comments#action_12425845 ]
           
Leon Torres commented on OFBIZ-120:
-----------------------------------

Also, the checkout flow needs to be modified so that shipping and tax are calculated before payment methods are generated.  That way the payment methods can fulfill the final order total.

> Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-120
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-120
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: billingAccount.patch
>
>
> To support splitting of order payments between multiple payment methods and billing account more efficiently, we will add an OrderPaymentPreference of EXT_BILL_ACT when a billing account is used for paying on an order.  The billingAccountId will still be on the OrderHeader.  
> Each OrderPaymentPreference will have a maxAmount for the amount to be captured to this payment method.
> The captureOrderPayments service will use this maxAmount to determine how much to capture to the billing account, instead of just using the maximum balance left on the billing account.

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

       
Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-120) Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)
     [ http://issues.apache.org/jira/browse/OFBIZ-120?page=all ]

Si Chen closed OFBIZ-120.
-------------------------

    Resolution: Fixed

Done as of svn r 433301

> Use separate OrderPaymentPreference with maxAmount for biling account and other payment methods
> -----------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-120
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-120
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Si Chen
>             Fix For: SVN trunk
>
>         Attachments: billingAccount.patch
>
>
> To support splitting of order payments between multiple payment methods and billing account more efficiently, we will add an OrderPaymentPreference of EXT_BILL_ACT when a billing account is used for paying on an order.  The billingAccountId will still be on the OrderHeader.  
> Each OrderPaymentPreference will have a maxAmount for the amount to be captured to this payment method.
> The captureOrderPayments service will use this maxAmount to determine how much to capture to the billing account, instead of just using the maximum balance left on the billing account.

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