Resolution
You should install Parallels Plesk Panel 9.0.1 and Parallels Plesk Billing 6.0.1.Note that Parallels Plesk Billing 6.0.0 does not work with Parallels Plesk Panel 9.0.1, for details see article http://kb.parallels.com/en/5985.
If you used Parallels Plesk Panel 6.0.0 before and upgraded Parallels Plesk Panel to version 9.0.1, you should also upgrade Parallels Plesk Billing to version 6.0.1.
You may install Parallels Plesk Billing Bundle via Plesk autoinstaller. For details see Installing Parallels Plesk Billing Bundle.
After Parallels Plesk Billing Bundle is installed button "Billing" should appear under "Accounts" on page "Home" in Parallels Plesk Panel. If the button is missing it may be hidden in page preset. Check and enable the button in preset configuration for Default Administrator Home Page at {Settings -> Interface Management -> Home Page Presets}.
The button leads to "Administrative Login" of Parallels Plesk Billing: https://<sso hostname>:8443/plesk-billing/admin/login.php.
NOTE: Parallels Plesk Billing Bundle does not work with Parallels Plesk Panel if PHP option display_errors is enabled in Plesk PHP configuration. Verify that the option is 'Off'. You may check with the following command:
~# grep display_errors /usr/local/psa/admin/conf/php.ini
display_errors = Off
~#If display_errors is 'On' change the option and restart sw-cp-server to apply the changes:
~# /etc/init.d/sw-cp-server restart
Restarting SWsoft control panels server... stale pidfile. [ OK ]
~#You may configure login to Parallels Plesk Billing through Parallels Plesk Panel via SSO. In this case authorization to Parallels Plesk Billing is performed automatically after button "Billing" it clicked in Parallels Plesk Panel.
SSO is an application for sw-cp-server. After installation restart sw-cp-server and verify SSO application is up and running:
~# netstat -natp | grep 1144
tcp 0 0 0.0.0.0:11443 0.0.0.0:* LISTEN 23638/sw-cp-serverd
tcp 0 0 0.0.0.0:11444 0.0.0.0:* LISTEN 23638/sw-cp-serverd
~#You may register Parallels Plesk Panel in SSO server with Plesk utility /usr/local/psa/bin/sso:
~# /usr/local/psa/bin/sso -s -server https://<sso hostname>:11443 -url https://<sso hostname>:11444
SUCCESS: SSO preferences are successfully updated
~#and enable it:
~# /usr/local/psa/bin/sso --enableFor registering Parallels Plesk Billing in SSO server you should login to Parallels Plesk Billing as administrator and change to page SSO Settings as {System -> System Configuration -> SSO Settings}. On the page enter URL for SSO server to Admin CP Settings and Client CP Settings and click Submit Changes. To enable SSO mode on the same page mark option Enable SSO and click Submit Changes to finish.
Then you should assign your Plesk and Billing user to the same global account. For example to assign Plesk user 'admin' and Billing user 'admin' to same global account.
Login to Parallels Plesk Panel with user 'admin' and change to {System -> Global Account -> Connect To Global Account}.
Connection to a global account ---------------------------------------
Connect your current local account to a new or existing global account
Select a global account to connect to: [ ] Use current global account
[ ] Use existing global account
[ ] Create new global account
------------------------------------------------------------------------------
To assign select an option and put login credentials of global account.
Then login to Parallels Plesk Billing as administrator and assign it to the same global account {System -> Global Account -> Connect To Global Account}:
Connect To Global Account
------------------------------------------------------------------------------
Connect user 'admin' to Global Account:
[ ] Connect to current
[ ] Connect to existing
[ ] Create new
------------------------------------------------------------------------------
After assignment you may login to Parallels Plesk Billing without password. It is enough to click button "Billing" in Parallels Plesk Panel.
If SSO server was reconfigured, for example change hostname or SSL certificate was changed you should re-register Parallels Plesk Panel and Parallels Plesk Billing in SSO server anew.
To register Parallels Plesk Panel in SSO server:
~# /usr/local/psa/bin/sso -s -server https://<new hostname>:11443 -url https://<new hostname>:11444
SUCCESS: SSO preferences are successfully updated
~#To register Parallels Plesk Billing you should login to the control panel and change to page {System -> System Configuration -> SSO Settings}. Remove check boxes and click button Submit Changes to apply. Then enter new SSO server into "Register in SSO" and click Submit Changes again.
IMPORTANT: After new registration you should assign Plesk and Billing users to global account anew!
Additional information
Run utility /usr/local/psa/bin/sso with "--help" to get list of all available options.~# /usr/local/psa/bin/sso --help
Usage: sso command [options]
Available commands:
--enable or -e Enable SSO mode
--disable or -d Disable SSO mode
--set-prefs or -s Set SSO preferences
--get-prefs or -g Get SSO preferences
--set-branded-idp Set branded IdP URL or table of
domains with IdP URls associated for
all domains
if http-request-domain is not
specified
--get-branded-idp Get branded IdP URL for specified
domain, or table of domains with IdP
URls associated for all domains
if http-request-domain is not
specified
--del-branded-idp Romove all Branded IdP URLs (reset to
default) or delete specified IdP URL
only or delete
specified IdP URL associated with
specified domain
--help or -h Displays this help page
Available options:
-server <SSO Server URL> Set SSO Server URL
-url <IdP URL> Set IdP URL
-domain <HTTP Request Domain> Set HTTP Request Domain
Version: 9.0.1_build90090127.18 os_CentOS 5
~#
No
Yes