[freeside] First Month Charges
Rick Eicher II
rick at pbol.net
Wed Mar 20 06:16:29 PST 2002
I am in the same situation. I am going to have two packages one that is flat
rate for old customers and one that is prorate for the new customers. When I
add the old customers I will sell them the flat rate so they get charge for
the whole month. Then I will run a update statement on the database to
change all of the bill next fields to the first day of the next month.
Just my thoughts,
> -----Original Message-----
> From: Luke Pfeifer [mailto:freeside at globalli.com]
> Sent: Tuesday, March 19, 2002 11:36 PM
> To: ivan-freeside at sisd.com
> Subject: Re: [freeside] First Month Charges
> Thank You for the quick response. I will develop something and contribute
> it back to the group.
> On Tue, 19 Mar 2002, ivan wrote:
> > On Wed, Mar 20, 2002 at 12:04:04AM -0500, freeside at globalli.com wrote:
> > > I just installed 1.4.0pre11 on my server and I was wondering it was
> > > possible to have it charge full months price for the first
> month and then
> > > flat rate from the 1st of the month after that.
> > >
> > > Hopefully that is not confusing, but I will try to work it
> this way. We
> > > want a customer to be charged the full amount no matter what
> time of the
> > > month they sign up and then their next month is due on the
> 1st of the next
> > > month. Therefore if we charged $100 a month and they signed up on the
> > > 15th of March they would be billed $100 for March 15 - March
> 31 and then
> > > their next bill would be for $100 from April 1 - April 30.
> > >
> > > Let me know if this is possible, or what script I should hack
> up to make
> > > these changes to allow this to happen.
> > You'd need to add a new price plan to httemplate/edit/part_pkg.cgi
> > I sugest starting with the "prorate" plan as a skeleton (it already does
> > the date manipulation you're looking for); it would need to be
> adjusted to
> > charge full price for the first month.
> > Good luck! Please consider contributing your changes back to the
> > project.
More information about the freeside-users