Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • View the online Demo in the Developer Tools section of UltraCart.
  • Download the source for the demo.
  • Review and edit cart_1.0.js. Pay attention to the comments.
Testing the connection

By default, the latest versions of the checkout api will test the connection upon page load. This is very helpful when getting started. Once you are certain of your remote api url and connectivity, you may disable it by adding the following parameter to your config:

doNotTestRemoteConnection:false

For example:

Code Block
languagejavascript
themeDJango
linenumberstrue
var merchantCartConfig = { 
merchantId: "DEMO", 
secureHostName:'www.mystore.com', 
remoteApiUrl:"https://www.mystore.com/proxy.php", 
debugMode:true, 
verboseAjax:true, 
doNotTestRemoteConnection:true 
} 

Legacy Versions

Version 1.0

...