asterisk2billing.org
http://forum.asterisk2billing.org/

DID billed multiple times
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=10773
Page 1 of 1

Author:  sigma [ Fri Apr 04, 2014 12:53 pm ]
Post subject:  DID billed multiple times

Hi all, please forgive me if this was asked before.

A2B 1.9.4 has decided to bill the monthly DID fee for certain customers for 3 consecutive days. Does anyone have any tips/suggestions? Thank you!

Author:  ubunter [ Mon Apr 06, 2015 2:14 pm ]
Post subject:  Re: DID billed multiple times

sigma wrote:
Hi all, please forgive me if this was asked before.

A2B 1.9.4 has decided to bill the monthly DID fee for certain customers for 3 consecutive days. Does anyone have any tips/suggestions? Thank you!


Yah, indeed this is a simple bug... it's just because when you (the admin), or your customer, when purchase the DID, has clicked several times the confirmation bottom, so a2billing has recorded the transaction 3 times... you will see this everymonth, and no way to remove it...

The ugly solution, is to remove the whole DID, and record it again, to record the DID purchase process correctly...

I believe in the DB that maybe recorded, but I had no time to look into the DB and where it's to remove the multiplication....

I have checked the code for this bottom, it seem to have the onclick function, but something wrong there as it seem to be not working fine...
Quote:
<input class="form_input_button" value=" <?php echo gettext("Ok");?> "type="button" onclick="CheckCountry('NextButton')">


But I'm not really aware to play with that code... if someone can help?
Regards

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/