Article ID: 128246, created on Feb 4, 2016, last review on Aug 17, 2016

  • Applies to:
  • Operations Automation
  • Business Automation

Symptoms

After login to Online Store, a customer clicks a 'login to control panel' link and enters credentials one more time to access the customer CP.

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.

Resolution

Go through the following steps to configure a possibility of entering the customer CP without re-login:

  1. Log in to Operations CP using the Provider's or Reseller's credentials.
  2. Go to System > Settings > Security.
  3. On the Setup tab, go to Authorized Networks and click Set New Secret.
  4. Specify the secret and keep it.

    Note: There is no possibility to retrieve a lost secret; you should create a new one instead.

  5. Connect to a host where the Online Store is installed using SSH.
  6. Change a directory to /usr/local/bm/templatestore/cache/<store_id>
  7. 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"

  8. Reload the browser screen with the opened Online Store and try to login to customer CP 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:

  1. Log in to Billing CP using the Provider's or Reseller's credentials.
  2. Go to Products > Online Store.
  3. On the More tab, click Advanced Settings and locate the CP_URL parameter.
  4. For the CP_URL parameter, set the value of URL of your brand.

    Please note that URL of the brand or default CP_URL should be resolved from BA Online Store server
    
  5. Synchronize the Online Store.

Also, you can customize a name of the link that is displayed in the Online Store:

  1. Go to Products > Online Store.
  2. On the More tab, click Languages.
  3. On the Dictionary tab of desired Language ID, locate the MY_ACCOUNT parameter.
  4. Select it and click Edit to change the name in the Translation box.
  5. Synchronize the Online Store.

Issue in Multilingual Online Store

If several languages are used in the Online Store, after clicking the 'login to control panel' link on the non-English screen, a customer CP with English locale is opened.

To correct this behavior, perform the following:

  1. Log in to Billing CP using the Provider's or Reseller's credentials.
  2. Go to Products > Online Store.
  3. On the More tab, click Languages.
  4. On the Dictionary tab of desired Language ID, locate the SESSION_LANG_ID parameter.
  5. Select it and click Edit to change a locale in the Translation box, for example, to es_ES or de_DE.
  6. Synchronize the Online Store.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae

Email subscription for changes to this article
Save as PDF