comission problem

Troy Hammonds troyh at netsignia.net
Thu Dec 30 17:06:55 PST 2004


I am running freeside 1.5.0pre6.  I offer a $1.00 reacuring comission to
all customers for each referal they bring to my company as log and the
customer has an active backage. Now this works well if the person has a
refer but if they have no refer or there refers packs is suspended or
cancled there account will not bill. When the package tryes to bill I
get the following error.

Your request could not be processed because of the following error: 

error inserting FS::cust_credit=HASH(0x955b3bc): amount must be > 0
at /usr/local/lib/perl5/site_perl/5.8.5/FS/part_pkg/flat_comission.pm
line 46. Stack:
[/usr/local/lib/perl5/site_perl/5.8.5/FS/part_pkg/flat_comission.pm:46]
[/usr/local/lib/perl5/site_perl/5.8.5/FS/cust_pkg.pm:526]
[/usr/local/lib/perl5/site_perl/5.8.5/FS/cust_main.pm:1201]
[/usr/local/apache/htdocs/misc/bill.cgi:10]
[/usr/local/apache/htdocs/autohandler:1] 


Is there a way I can fix this so that it still bills them? I just
noticed this and some of my custoemrs have not been billed in a few
months becouse of the errors.


-Troy


-- 
This message has been scanned for viruses and
dangerous content by Netsignia Online, and is
believed to be clean.





More information about the freeside-users mailing list