SymptomsHSPcomplete Online Store is moved from default location to the separate server.
After upgrade to HSPcomplete 3.3.2-01 there is error on shopping cart page when using domain 'Registered Elsewhere'. Order can not be placed.
In the Online 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).
CauseHSPcomplete 3.3.2-01 XML API was changed in such way that it is not compatible with old Online Store.
1. The 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 the Online Store domain form.
ResolutionFix the Online Store module includes/hspc_functions.php this way:
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'),
2. In the function 'place_order', instead of this code:
'dm_action' => ($value['dm_action'] == 'domain_pointer' && $value['dns_hosting']) ?
'dns_hosting' : $value['dm_action'],
'dm_action' => $value['dm_action'],