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

[A2Billing 1.7.1]: error actived new user
http://forum.asterisk2billing.org/viewtopic.php?f=22&t=8174
Page 1 of 1

Author:  ryan_mu [ Wed Sep 22, 2010 12:12 pm ]
Post subject:  [A2Billing 1.7.1]: error actived new user

Hi all,
I have installed successfully A2Billing 1.7.1 with Asterisk 1.4.
I have tested to add new customer from web interface Customer Sign Up.
The customer has receiverd an email to active this account. After click to link actived account, I can see the message :"Welcome! Your account has been successfully activated. Thank you! "

But I try to log in to account from Customer Web, it has message : "NEW ACCOUNT : Your account has not been validate yet!"

I check in database with table cc_card : status = 2 (new).
I think that commands in file actived.php aren't effected.
Code:
if (isset ($key) && $list[0][8] != "1") {
   if ($A2B->config["signup"]['activated']) {
      // Status : 1 - Active
      $QUERY = "UPDATE cc_card SET status = 1 WHERE ( status = 2 OR status = 3 ) AND loginkey = '" . $key . "' ";
   } else {
      // Status : 2 - New
      $QUERY = "UPDATE cc_card SET status = 2 WHERE ( status = 2 OR status = 3 ) AND loginkey = '" . $key . "' ";
   }
   $result = $instance_sub_table->SQLExec($HD_Form->DBHandle, $QUERY, 0);
}



Is this the bug of A2Billing 1.7.1 ?
Thank in advance for all helps!
Best regard,

Author:  RobertM18 [ Wed Sep 29, 2010 6:26 pm ]
Post subject:  Re: [A2Billing 1.7.1]: error actived new user

ryan_mu wrote:
Hi all,
I have installed successfully A2Billing 1.7.1 with Asterisk 1.4.
I have tested to add new customer from web interface Customer Sign Up.
The customer has receiverd an email to active this account. After click to link actived account, I can see the message :"Welcome! Your account has been successfully activated. Thank you! "

But I try to log in to account from Customer Web, it has message : "NEW ACCOUNT : Your account has not been validate yet!"
...
Is this the bug of A2Billing 1.7.1 ?
Thank in advance for all helps!
Best regard,


I'm getting the same thing under the same circumstances.

Author:  RobertM18 [ Thu Sep 30, 2010 12:46 pm ]
Post subject:  Re: [A2Billing 1.7.1]: error actived new user

Here is what I was told about this error:

There is 2 settings that allow you to define the behavior :

- Card Activation activated No Specify whether the card is created as
active or pending.

- Activate Card activatedbyuser No active card after the new signup.
if No, the Signup confirmation is needed and an email will be sent to
the user with a link for activation (need to put the link into the
Signup mail template).


Set them both to Yes and you might have the expected result.

Author:  ryan_mu [ Fri Oct 15, 2010 2:19 pm ]
Post subject:  Re: [A2Billing 1.7.1]: error actived new user

RobertM18 wrote:
Here is what I was told about this error:

There is 2 settings that allow you to define the behavior :

- Card Activation activated No Specify whether the card is created as
active or pending.

- Activate Card activatedbyuser No active card after the new signup.
if No, the Signup confirmation is needed and an email will be sent to
the user with a link for activation (need to put the link into the
Signup mail template).


Set them both to Yes and you might have the expected result.


I think that activated = yes and activatedbyuser = no . I have tested and this is successful.

B.R
T.Q.T

Author:  Britta [ Thu Mar 19, 2015 7:42 am ]
Post subject:  Re: [A2Billing 1.7.1]: error actived new user

The customer has receiverd an email to active this account. After click to link actived account, I can see the message :"Welcome! Your account has been successfully activated. Thank you! "




NAT

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