getHostLink

getHostLink

Method Signature

void ultraCart.getHostLink(String customSslSecureHostName, opts);

Description

Makes a call to the server retrieving a javascript url that, when executed, creates cookie links between the current page and the custom checkout page. This call is necessary if the customer is going to be transferred to another url during the checkout to avoid losing the cart contents. The javscript url is used to create a <script> tag in the head of the document which immediately fires.

Parameter

String customSslSecureHostName - this must be a custom ssl host that is registered to you.

Parameter

opts - see Making an Asynchronous Call

Result

no return value

    ultraCart.getHostLink('secure.mystore.com', {async:true});