Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Mar 19, 2024 8:42 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Access Denied
PostPosted: Fri Oct 22, 2010 4:54 am 
Offline

Joined: Sun Sep 19, 2010 6:59 pm
Posts: 5
Hi A2b's

I am using A2Billing version 1.7.1

I setup to activate the card immediatly after signup (from config). In signup_confirmation.php, I placed a button to go ahead to checkout_payment.php, so that the user can go ahead and make the payment instead of relogin. It worked for few days and were able to go all the way to paypal payment and people made payment.

For the last couple of days, when we click on the button to checkout_payment.php in signup_confirmation.php(which I created), it is giving accessdenied error and asking me to relogin. It looks like has_rights(ACX_ACCESS) is giving false. How can I circumvent this?

Only thing I might have done is switching to enable SSL, but once I see the error I changed it back but it still giving the access denied error.

Also I setup logfile path in system Settings to /var/log/a2billing/ But somehow I cannot see any log files created. Why is it?

Any help is highly appreciated.

Thanks


Top
 Profile  
 
 Post subject: Re: Access Denied
PostPosted: Sat Jul 16, 2011 1:47 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
Quote:
For the last couple of days, when we click on the button to checkout_payment.php in signup_confirmation.php(which I created), it is giving accessdenied error and asking me to relogin. It looks like has_rights(ACX_ACCESS) is giving false. How can I circumvent this?


In A2B 1.9.4 it also logs out when customer clicks on paypal button and proceed to checkout and they have to log back in to proceed.

I changed some lines in this file and it fixed the problem. The commented lines are the original and the ones below are changed.

../common/lib/epayment/includes/configure.php

Code:
//      define('HTTPS_SERVER', $A2B->config["epayment_method"]["http_server"]);
        define('HTTPS_SERVER', $A2B->config["epayment_method"]["https_server"]);
        define('ENABLE_SSL', $A2B->config["epayment_method"]["enable_ssl"]);

        define('HTTP_COOKIE_DOMAIN', $A2B->config["epayment_method"]["http_domain"]);
//      define('HTTPS_COOKIE_DOMAIN', $A2B->config["epayment_method"]["http_domain"]);
        define('HTTPS_COOKIE_DOMAIN', $A2B->config["epayment_method"]["https_domain"]);

//      define('HTTP_COOKIE_PATH', $A2B->config["epayment_method"]["dir_ws_http"]);
//      define('HTTPS_COOKIE_PATH', $A2B->config["epayment_method"]["dir_ws_http"]);
        define('HTTP_COOKIE_PATH', $A2B->config["epayment_method"]["http_cookie_path"]);
        define('HTTPS_COOKIE_PATH', $A2B->config["epayment_method"]["https_cookie_path"]);



//      define('DIR_WS_HTTP_CATALOG', $A2B->config["epayment_method"]["dir_ws_http"]);
//      define('DIR_WS_HTTPS_CATALOG', $A2B->config["epayment_method"]["dir_ws_http"]);
        define('DIR_WS_HTTP_CATALOG', $A2B->config["epayment_method"]["dir_ws_http_catalog"]);
        define('DIR_WS_HTTPS_CATALOG', $A2B->config["epayment_method"]["dir_ws_https_catalog"]);


Top
 Profile  
 
 Post subject: Re: Access Denied
PostPosted: Sun Jul 17, 2011 6:22 am 
Offline

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

You should not have to change this - we have a large number of installations where Paypal works fine on 1.9.4 with no modifications.

Can you confirm that the URL you are using to login is the same as those you have put into the system settings under epayments.

Joe


Top
 Profile  
 
 Post subject: Re: Access Denied
PostPosted: Sun Jul 17, 2011 10:38 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
Quote:
Can you confirm that the URL you are using to login is the same as those you have put into the system settings under epayments.


Checked and this seems to be the issue and not as noted in post above.

The definitions under epayments have the URL with the "www." and whenever one logs in to their account without the www. prefix on the URL, it logs off when attempt is made to checkout.

One solution then is to always redirect to www. from the index page before logon and define epayments settings with the www.

Thanks.

Paul


Top
 Profile  
 
 Post subject: Re: Access Denied
PostPosted: Mon Feb 23, 2015 3:49 pm 
Offline

Joined: Mon Feb 23, 2015 3:47 pm
Posts: 1
logs out when customer clicks on paypal button and proceed to checkout and they have to log back in to proceed.






_____________________________________
**SignaturE**


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group