Troubleshooting Integration with AbleCommerce

If you are unable to connect to your AbleCommerce shopping cart, the likely cause is an incorrect Script URL on the Shopping Carts form. You may see error messages such as "script version 0 is too low…", "unexpected error" or "page error" when you try to send or receive data from AbleCommerce.

 

The Script URL must be a secure URL (i.e. https://...) and point to the Order Manager export module in your store (e.g. www.mystore.com/acbnet/stores/1/emexpt5.aspx). The Order Manager automatically adds the https:// at the beginning of the URL. If you entered the Script URL with https:// remove it and try to connect to your AbleCommerce shopping cart again.

 

Follow the directions below to determine what is preventing you from establishing a connection:

 

Test the Script URL in your Browser

 

  1. Copy the Script URL from the Shopping Carts form and paste it into the address bar of your browser.

  2. Add "https://" to the beginning of the URL.

  3. Add ?setifunction=sendversion to the end of the URL. The entire URL should look like this example: https://www.mystore.com/acbnet/stores/1/omexpt5.aspx?setifunction=sendversion

  1. Press enter.

  2. If the path is correct, i.e. you can access the script in your store, you see the following message in your browser window:

    SETIResponse version=X.XXX


    If you see this message, proceed to the next step.

 

  1. If you see an error in the browser window such as "Certificate does not match the name of the site" or "Certificate expired", set the system parameter IgnoreSecureCertificateErrors in the Program group to True. Re-attempt to establish a connection to your shopping cart. If you receive the error "Certificate not from a trusted authority", install your site's certificate in your browser software so that it is recognized as "trusted". Consult your browser help files for assistance installing trusted certificates.

  2. If you see an error in the browser window such as "SETIERROR: Function not defined", the program accessed the export module and the URL is correct, however, there is a problem with the query (?setifunction=sendversion). Check the text of the query, re-type it if necessary, and try again.

  3. If you see an error in the browser window such as "Page Not Found", the URL is not pointing to the location of the export module file (e.g. omexpt5.aspx). Verify that the file has been installed in your store directory and verify the path itself.  Note: Make sure you are using the "secure" URL, i.e. "https://..." to run this test.
     

Verify the Correct Store Group ID and Store ID

 

  1. Make a note of the Group and Store ID in your AbleCommerce shopping cart's settings on the Shopping Carts form, e.g. 1~1.  

  2. Copy the Script URL from the Shopping Carts form and paste it into the address bar of your browser.

  3. Add "https://" to the beginning of the URL.

  4. Add ?setifunction=downloadorders&setiuser=(your Admin user ID)&password=(your Adminpassword)&code=(SGID#~SID#) to the end of the URL. The entire URL should look like this example: https://www.mystore.com/acbnet/stores/1/omexpt5.aspx?setifunction=downloadorders&setiuser=(admin)&password=(dogsname)&code=(1~1)

  5. Press enter.

  6. A list of orders from your cart should display in your browser (it will appear jumbled; right click on the browser window and choose View Source to see it in formatted text.

  7. If so, copy and paste the URL from your browser's address bar up to but NOT including the ? and the following text into the Script URL field on the Shopping Carts form, e.g. www.secureserver.com/mystore/acb/stores/1/omexpt.asp. You should now be able to establish a connection with your shopping cart.

    1. If you see an error in the browser window such as  "You do not have administrative rights…" double-check the username and password you entered in step 7.

    2. If you see an error in the browser window such as "must include SGID and SID…" check the Store Group ID and the Store ID you entered in step 7. Note: They must be separated by a tilde (~).

 

 

See Also

Shopping Cart Functions

AbleCommerce Order Status System Configuration

AbleCommerce Real-time Inventory Tracking

Installing the Export Script in your AbleCommerce Store

Set up an AbleCommerce Shopping Cart

 

Modified 11/2/09