If you wish to offer the Try and Buy mode for Plesk with Presence
Builder and a custom billing solution, you should also carry out the
following operations:
-
Forward customers from Presence Builder to a custom store and save
details about created sites.When a customer clicks to purchase a site, Presence Builder sends an
HTTP POST request to a billing entry point. This request contains
information about the customer and the created site. Business Manager
(billing engine) uses this information to associate the site with the
customer’s hosting account. To shift to a custom billing engine, you
should change the billing entry point URL and extend your billing
engine logic to save the POST parameters that come to the URL. -
Ensure that customers purchase a hosting plan or add-on.
This solely depends on the billing system and is beyond the scope of
the CAS integration. -
(For new customers only) Create a customer account, a subscription,
and a site in Plesk. -
Associate the site created in Presence Builder with an appropriate
site in Plesk.
This appendix explains how to complete operations 1, 3, and 4.
How to Forward Customers to a Custom Entry Point
By default, the store entry point URL points to Business Manager. This
URL is stored in two placeholders (billingSignUpEntryPoint and
billingUpSellEntryPoint) in file tbbMessagesDefault.lng
. The
location of this file depends on a Plesk installation directory (we
assume that you use the default one), server OS and architecture. Find
the file in one of the following directories:
- (On Microsoft Windows)
C:Program FilesParallelssbresourceslocaleen_US
or
C:Program Files (x86)Parallelssbresourceslocaleen_US
depending on the server architecture. - (On RPM and DEB package-based Linux)
/usr/local/sb/resources/locale/en_US
To customize the entry point URL, you should create a copy of the
tbbMessagesDefault.lng
. file, name it tbbMessagesCustom.lng
, and
modify the settings in the latter file.
Note: We assume that you change the entry point for a store in the
en_US
locale. To change the entry point for other locales, create
and modify the <…