From ISPWiki

Jump to: navigation, search


Configuring integration on the server

Creating customer packages

To integrate BILLmanager with Plesk 10 you need to check package subscriptions on the server. Go to the "Service plans" section to locate their settings. Here you can also create package add-ons to manage them via BILLmanager. Note: a service plan specifies add-ons related to a subscription rather than those related to an account.

в первую очередь необходимо проверить настройку тарифных планов подписок на сервере. Данные настройки производятся в разделе "Сервис-планы". Так же в данном разделе можно создать необходимые дополнения к тарифным планам, подключением которым можно будет управлять через BILLmanager. Важно: сервис-план определяет ограничения подписки, а не клиентского аккаунта.

Creating add-ons for customer packages

Creating reseller packages

Reseller packages are set in the same manner as subscription plans. The only difference is that add-ons of this plan will be applied to the whole reseller account.

Тарифные планы реселлером создаются и настраиваются аналогично тарифным планам подписок, единственным отличием является то, что ограничения такого тарифного плана действуют целиком на учетную запись будущего реселлера.

Changing interface elements

You may change default buttons of the customer interface for your comfort and integration with the billing.

Changing domain links

To change a domain order default link execute the command:

/usr/local/psa/bin/panel_gui -p -domain_registration_url <url> - for Linux 
%plesk_cli%\panel_gui.exe -p -domain_registration_url <url> - for Windows 

where <url> is a domain order link

To change a deafult link to the domain management interface execute the command:

/usr/local/psa/bin/panel_gui -p -domain_management_url <url> - for Linux 
%plesk_cli%\panel_gui.exe -p -domain_management_url <url> - for Windows 

where <url> is a domain management link

Changing SSL certificate management links

To change a SSL certificate order default link execute the command:

/usr/local/psa/bin/panel_gui -p -cert_purchasing_url <url> - for Linux 
%plesk_cli%\panel_gui.exe -p -cert_purchasing_url <url> - for Windows 

where <url> is an SSL certificate order link

Changing link to provider's site

To change a default link to the provider's site execute the command:

/usr/local/psa/bin/panel_gui -p -mpc_portal_url <url> - for Linux 
%plesk_cli%\panel_gui.exe -p -mpc_portal_url <url> - for Windows 

where <url> is a link to the provider's site

Customizing integration in the billing

Adding a server

Creation of Plesk 10 server is much like creating other types of servers. However, consider the followings:

  • Use port 8443 in the В URL
  • You can log in to the server with reseller privileges, but when setting a service via BILLmanager hosting services will not be automatically created on a subscription.

Creating plans

Service packages are created in the same manner as other types of servers.

Creating package add-ons (details)

Beside standard BILLmanager add-ons you can create the following add-ons:

  • Package add-ons, use an add-on name as an internal name, type - boolean.
  • For add-on with a numeric type the following internal names can be used:
    • max_site - the maximum number of domains. оменов.
    • max_subdom - the maximum number of sub-domains.
    • max_dom_aliases - the maximum number of domain aliases.
    • disk_space - the maximum disk space.
    • max_traffic - the maximum amount of traffic.
    • max_wu - the maximum number of users.
    • max_subftp_users - the maximum number of FTP users.
    • max_db - the maximum number of databases.
    • max_box - the maximum number of mailboxes.
    • mbox_quota - the maximum size allowed for mailboxes.
    • max_maillists - the maximum number of mailing lists.
    • max_webapps - the maximum number of web-applications.
    • max_site_builder - the maximum number of web-sites created via SiteBuilder.
    • max_unity_mobile_sites - the maximum number of unity mobile sites.
  • Permissions (the boolean type in the billing):
  • create_domains - enable/disable domain creation.
  • manage_phosting - enable/disable physical hosting management.
    • manage_php_safe_mode - manage PHP safe mode.
    • manage_quota - manage quotas.
  • manage_subdomains - enable/disable subdomains management.
  • manage_domain_aliases - enable/disable domain alias management.
  • manage_log - enable/disable log rotation management.
  • manage_anonftp - enable/disable anonymous FTP management.
  • manage_subftp - enable/disable to manage additional FTP accounts.
  • manage_crontab - enable/disable cron jobs management.
  • manage_dns - enable/disable DNS settings management.
  • manage_webapps - enable/disable Tomcat web application management.
    • manage_webstat - enable/disable statistics management.
  • manage_maillists - enable/disable mailing lists management.
  • manage_spamfilter - enable/disable spam filtering management.
    • manage_virusfilter - enable/disable spam filtering anti-virus.
  • allow_local_backups - enable/disable to use local repository for backing up/restoring.
  • allow_ftp_backups - enable/disable to use FTP repository for backing up/restoring.
  • manage_performance - enable/disable hosting performance management.
    • select_db_server - select database server.
    • access_appcatalog - access to application pool.
    • allow_insecure_sites - enable/disable to use insecure sites.

Welcome message

In Plesk 10 Customer account and his account information and Hosting are separate notions; credentials from a Welcome message cannot be provided to access the system for they are used for ftp access to subscription (hosting).

To send customer's credentials along with ftp access data, you need to edit a standard Welcome message as follows:

Note: this step will be only applied to the first customer subscription on the server, or if passwords in Plesk 10 are available to public (used by default)

Locate the followings:

User login: <xsl:value-of select='vhost.username' disable-output-escaping='yes'/>
Password : <xsl:value-of select='vhost.password' disable-output-escaping='yes'/>

and change then into:

<xsl:when test="server.cpmodule != 'cpplesk10'">
User login: <xsl:value-of select='vhost.username' disable-output-escaping='yes'/>
Password : <xsl:value-of select='vhost.password' disable-output-escaping='yes'/>
User login: <xsl:value-of select='item.account[2]' disable-output-escaping='yes'/>
Password : <xsl:value-of select='item.password' disable-output-escaping='yes'/>
FTP login: <xsl:value-of select='vhost.username' disable-output-escaping='yes'/>
FTP password : <xsl:value-of select='vhost.password' disable-output-escaping='yes'/>

Integration module functions

Creating account

If a user account of a customer ordering hosting services does not exist, it will be created. A subscription will be created and configured according to BILLmanager permissions.

Deleting account

The subscription is deleted, the user account remains unchanged.

Disabling account

The subscription is disabled. If a customer has multiple subscriptions, active subscriptions continue functioning.

Enabling account

The subscription is re-activated.

Changing package and configuring add-ons

The package is changed and/or subscription add-ons are configured. Subscriptions will be configured according to permissions specified in BILLmanager.

Getting package information from the server

Get information on available reseller service plans, customers and add-ons.

Checking server connection

Server connection is checked.

Getting server statistics

Information on traffic consumption is taken from Plesk 10.

Additional information

  • Use the fix function to update the information.
  • Module log file: /usr/local/ispmgr/var/cpplesk10.log.
Was this helpful? Yes | No
Personal tools