• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Plesk Billing intergration

2

2dareis2do

Guest
I am trying to reactivate my standalone version of Plesk Billing. Everything seesms to be working correctly, except that the Plesk Panel does not seem to be able to be able to retrieve clients balances and I get the error message in Plesk at the top of the page in red:

Error: Unable to fetch customers' balances: Unable to connect to Plesk-Billing.

I have also looked at the error logs in /var/log/sw-cp-server/error_log and notice the following message on numerous occasions:

2009-02-10 18:25:17: (mod_fastcgi.c.2589) FastCGI-stderr: PHP Warning: file_get_contents(http://www.mydomain.co.uk/pleskbilling/action-api/api.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /usr/local/psa/admin/plib/billing/BillingAPI.php on line 135

When I look at /usr/local/psa/admin/plib/billing/BillingAPI.php it appears to be encrypted.

When I look at http://www.mydomain.co.uk/pleskbilling/action-api/api.php, it is not there!

Any suggestions?

Dan
 
exact same problem here.

This happened after I added the servers to PB 6 (standalone, upgraded from MB 5.x)
 
cd to your pb httpdocs folder, then:

mkdir action-api/ && cp -a app-modernbill-admin/api.php action-api/

Worked for me to remove the error from the control panel.
 
Upgrade to latest PPB 6.0.1

I found your above mentioned fix to have solved the problem, but today I installed (despite the absolutely wrong and poor documentation) v 6.0.1 and it has fixed a number of issues.

1) The client integration appears to now work without the 'fix' from above.
2) The SSO features work properly, so that I can click on the balance link and am automatically logged in to PPB and taken to the correct clients account.
3) The repair SSO options described in the documentation are now there.

I still havent figured out how to sync old accounts that are on the server so that they appear, but it's a step in the right direction.
 
Back
Top