Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 8:02 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: extracharge_fee not working in case of Progressive Billing
PostPosted: Wed Nov 19, 2008 11:37 am 
Offline

Joined: Wed Jun 25, 2008 3:10 pm
Posts: 45
Location: Germany
Hi ,
i have tested that in case of Progressive billing Extracharge_DID difine in A2billing.conf file is not charge to customer.


If we don’t use progressive billing its work perfect.


please guide me if some one have slove the problem.


Best Regards


Top
 Profile  
 
 Post subject: Re: extracharge_fee not working in case of Progressive Billing
PostPosted: Mon Feb 14, 2011 4:19 pm 
Offline

Joined: Sat Nov 29, 2008 8:59 pm
Posts: 5
i recently had the same problem. after looking into the code i found that in Class.RateEngine.php only rateinitial is being updated with the extra fee.
to fix this go to file common/lib/Class.RateEngine.php
after line 262 add the following:
$this->ratecard_obj[$i][18]+=$fee; //chargea
$this->ratecard_obj[$i][22]+=$fee; //chargeb
$this->ratecard_obj[$i][26]+=$fee; //chargec
the whole block will look like:
for ($i=0; $i<count($this->ratecard_obj); $i++)
{
$this->ratecard_obj[$i][9] +=$buyfee; //buy
$this->ratecard_obj[$i][12]+=$fee; //rateinitial
$this->ratecard_obj[$i][18]+=$fee; //chargea
$this->ratecard_obj[$i][22]+=$fee; //chargeb
$this->ratecard_obj[$i][26]+=$fee; //chargec
}


Top
 Profile  
 
 Post subject: Re: extracharge_fee not working in case of Progressive Billing
PostPosted: Tue Feb 15, 2011 9:58 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

fixed

https://github.com/Star2Billing/a2billi ... 9364d3af13

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group