Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

Article ID: 2288 
Last Review: Oct,6 2008
Author: Rozet Irina
Last updated by: system APPLIES TO:
  • Parallels Business Automation - Standard 3.3.x

Symptoms

My HSPcomplete store is moved from default location.
After upgrade to HSPcomplete 3.3.2-01 there is error on shopping card page when using 'registered elsewhere' domain. Order can not be placed. In store error log we can see message 'FaultString => Creation of subdomain denied' (by default store error log is /var/log/httpd/hspc_frontend_error_log).

Cause

HSPcomplete 3.3.2-01 XML API was changed in such way that it's not compartible
with old store.

1.  Function get_warning_paymethod is replaced with get_warning
2.  New value for 'dm_action' is introduced - 'domain_pointer'. This action is used for
domain, registered elsewhere. Action 'dns_hosting' is used for subdomain.
Third type, 'use_existing', corresponds to 'Use one of my domains' field in store domain form.

Resolution

Fix store module includes/hspc_functions.php

1. replace get_warning_paymethod call with the following:

$payment_options[$key]['warning_layout'] = call('get_warning',
                        array('order_id' => $_SESSION['order']['id'],
                                'warning_type' => 'paymethod'),
                         'HSPC/API/Fraud');
                                                                                                                                                          

2.  in function 'place_order', instead of this code:
   'dm_action'  => ($value['dm_action'] == 'domain_pointer' && $value['dns_hosting']) ?       
                              'dns_hosting' : $value['dm_action'],
put this:
   'dm_action'  => $value['dm_action'],
Keywords: hspcomplete store error


Subscription for changes to this article Subscription for changes to this article

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
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop for Mac
- Parallels Workstation
- Parallels Workstation Extreme
Server Virtualization
- Parallels Server
- Parallels Server for Mac
- Parallels Virtuozzo Containers
- Parallels Infrastructure Manager
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Plesk Family
More Products