[jira] Created: (OFBIZ-86) Support for Store Credit Valid Days

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

[jira] Created: (OFBIZ-86) Support for Store Credit Valid Days

Nicolas Malin (Jira)
Support for Store Credit Valid Days
-----------------------------------

         Key: OFBIZ-86
         URL: http://issues.apache.org/jira/browse/OFBIZ-86
     Project: The Open For Business Project
        Type: New Feature

    Reporter: Si Chen


New field in ProductStore for "storeCreditValidDays" which if set to a value will cause the store credits issued against the returns of orders from this store to be valid for this many days.

Change processCreditReturn to support this new field.  Right now it is issuing only one store credit BillingAccount per return, so it should loop through all the orders, find the minimum number of storeCreditValidDays, and set the thruDate of the BillingAccount to nowTimestamp + this many days.

Change the checkout process to filter out expired billing accounts from the payment selection list.

--
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-86) Support for Store Credit Valid Days

Nicolas Malin (Jira)
    [ http://issues.apache.org/jira/browse/OFBIZ-86?page=comments#action_12420708 ]

Leon Torres commented on OFBIZ-86:
----------------------------------

Wouldn't (nowTimestamp + this many days + (time to end of day)) work better for expiration date?  That way users and customer's won't be surprised if credit expires in the middle of a business day.  Time to end of day is simply the nowTimestamp day + " 23:59:59.999"



> Support for Store Credit Valid Days
> -----------------------------------
>
>          Key: OFBIZ-86
>          URL: http://issues.apache.org/jira/browse/OFBIZ-86
>      Project: The Open For Business Project
>         Type: New Feature

>     Reporter: Si Chen

>
> New field in ProductStore for "storeCreditValidDays" which if set to a value will cause the store credits issued against the returns of orders from this store to be valid for this many days.
> Change processCreditReturn to support this new field.  Right now it is issuing only one store credit BillingAccount per return, so it should loop through all the orders, find the minimum number of storeCreditValidDays, and set the thruDate of the BillingAccount to nowTimestamp + this many days.
> Change the checkout process to filter out expired billing accounts from the payment selection list.

--
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-86) Support for Store Credit Valid Days

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

    Resolution: Fixed

> Support for Store Credit Valid Days
> -----------------------------------
>
>          Key: OFBIZ-86
>          URL: http://issues.apache.org/jira/browse/OFBIZ-86
>      Project: The Open For Business Project
>         Type: New Feature

>     Reporter: Si Chen

>
> New field in ProductStore for "storeCreditValidDays" which if set to a value will cause the store credits issued against the returns of orders from this store to be valid for this many days.
> Change processCreditReturn to support this new field.  Right now it is issuing only one store credit BillingAccount per return, so it should loop through all the orders, find the minimum number of storeCreditValidDays, and set the thruDate of the BillingAccount to nowTimestamp + this many days.
> Change the checkout process to filter out expired billing accounts from the payment selection list.

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