Configuring Login to Customer CP from Online Store by Link
Problem
After login to online store, a customer clicks a 'login to control panel' link and enters credentials one more time to access CCP.
Note: If the online store does not display the 'login to control panel' link, configure it using directions provided under Configuring 'Login to Control Panel'Link below.
Solution
Go through the following steps to configure a possibility of entering CCP without re-login:
- Log in to Operations PCP using provider's or reseller's credentials.
- Go to System > Settings > Security.
- On the Setup tab, go to Authorized Networks and click Set New Secret.
-
Specify the secret and keep it.
Note: There is no possibility to retrieve a lost secret; you should create a new one instead.
- Connect to a host where the online store is installed using SSH.
- Change a directory to
/usr/local/bm/templatestore/cache/<store_id>
. -
Locate the
secret.ini
file and set your secret in the following string of the file (if the string is absent, add it):$BRAND_SECRET="Remembered secret"
-
Reload the browser screen with the opened online store and try to login to CCP again.
Note: In case of a proxy store usage, each vendor should hand their "Shared secret" to the provider. The provider should set the "Shared secret" in a corresponding
secret.ini
file on the store installation. The<store_id>
value is unique for each vendor and corresponding brand ID.
Configuring 'Login to Control Panel' Link
To configure the 'login to control panel' link, perform the following:
- Log in to Billing PCP using provider's or reseller's credentials.
- Go to Products > Online Store.
- On the More tab, click Advanced Settings and locate the CP_URL parameter.
-
For the CP_URL parameter, set the value of URL of your brand.
Note: URL of the brand or default CP_URL should be resolved from the online store server.
- Synchronize the online store.
Also, you can customize a name of the link that is displayed in the online store:
- Go to Products > Online Store.
- On the More tab, click Languages.
- On the Dictionary tab of desired Language ID, locate the MY_ACCOUNT parameter.
- Select it and click Edit to change the name in the Translation box.
- Synchronize the online store.