pingRemoteServer (JS API v2)

Version 2 API only.

pingRemoteServer

This call used internally by the ultraCart script to test the relay script. It's doubtful you'd ever need to call it yourself.
This connectivity test can be disabled by setting the config option doNotTestRemoteConnection to true. However, please please ensure you have proper connectivity to the UltraCart system before turning this off.

Method Signature

String[] ultraCart.pingRemoteServer();

Description

Pings the remote server, returning back server info

Parameter

email - the customer's email address (username)

Parameter

password - the customer's password

Parameter

opts - see Making an Asynchronous Call

Result

An array of server info. This information is normally printed (by default) to your browser console if you have debugMode=true in your configuration.