How do I configure HSPcomplete Store to perform authorization by secure key?

Article ID: 2244 
Last Review: Oct,6 2008
Author: Tarasov Yuri APPLIES TO:
  • HSPcomplete 3.3.x

Resolution

Since HSPcomplete 3.3.2 version vendor authorization by secure key is implemented. This authorization way is more for remote HSPcomplete Store preferred since you do not need to keep plain text passwords.

It is required to perform some direct SQL queries to configure this. As HSPcomplete interface in the moment does not provide possibility to edit secure key, it is required to generate a few keys for all Store domains/hostnames set all keys to the same value, just for example:

mysql> update store_auth set key_value='jhWlNHNqxMowohYefaD27u1uZGH' where store_id=1;
mysql> select * from store_auth where store_id=1;
+--------+----------+------------+-----------------------------+---------------------+
| key_id | store_id |  hostname  |           key_value         |       crt_date     
+--------+----------+------------+-----------------------------+---------------------+
|    8   |     1    | 9.c.sw.com | jhWlNHNqxMowohYefaD27u1uZGH | 2007-09-18 13:57:16 |
|   10   |     1    | 9.c.sw.ru  | jhWlNHNqxMowohYefaD27u1uZGH | 2007-05-17 10:45:21 |
|   11   |     1    | 9.c.sw.de  | jhWlNHNqxMowohYefaD27u1uZGH | 2007-06-20 06:57:12 |
+--------+----------+------------+-----------------------------+---------------------+


The last step is to edit "/var/www/html/includes/settings.ini" with setting the following parameters:

HSPCOMPLETE_SERVER = https://hspc_mn_address
SECURE_KEY = jhWlNHNqxNowohYefaD27u1uZGH

Please, do not forget to change SECURE_KEY to unique value used on your HSPcomplete installation only.

Additional information

For detailed instructions regarding manual Store installation on remote server you may check this article in HSPcomplete SDK
Keywords: store


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields