Created : 15 April 2015
Last Modified : 10 April 2019

***********************************************************************************
Contents:

A. SUMMARY
B. FILE STRUCTURE
C. INSTALLATION INSTRUCTION
D. CHANGES
E. CONFIGURATION SETTINGS
F. DATABASE TABLES MODIFIED
G. LANGUAGE SETTINGS CHANGED
H. CHANGE LOGS
I. TROUBLESHOOTING
J. FAQ
K. COPYRIGHT NOTICE
L. TERMS AND CONDITIONS

***********************************************************************************

A. SUMMARY
==========

This interface is for use with Canada Post XML shipping module.

***********************************************************************************

B. FILE STRUCTURE
===================

Files included in the zip are:
- $readme_canadapostxml.txt
- canadapostxml.asp
- canadapostxmlsubs.asp
- shopajaxshippingcanpostsubs.asp
- admin\canadapostxml_setup.asp
- admin\canadapostxml_setup_config.asp
- admin\canadapostxml_setup_process.asp
- admin\sqlscripts\canadapostxml\*

***********************************************************************************

C. INSTALLATION INSTRUCTION
============================

* If you DO NOT made any changes to the above files, please ignore below section.

***********************************************************************************

If you HAVE made significant changes to your above files,
then please use winmerge to compare your codes.

To do this, please follow these steps.

1. Download a program called WinMerge (http://winmerge.sourceforge.net/), which will allow you to compare your files with those in the patch.

2. Unzip the patch files to a folder on your computer

4. Download the files included in the patch from your live site into another folder on your computer.

5. Run WinMerge and compare the contents of 2 folders.

6. Save the patched files.

7. Back up the files to be patched on the server.

8. Upload the patched files to your server

9. Test your site to ensure there have been no problems.

***********************************************************************************

1. Upload all the files into your shopping cart folder.

2. Log into super admin and execute setup file, eg: http://www.yourdomain.com/yourshoppingcartfolder/youradminfolder/canadapostxml_setup.asp

3. After setup the module, you would be redirected to Module configuration page to configure the module further.

4. Once configured, please add a new Canada Post shipping record through Home > Advanced Settings > Shipping & Handling > Setup Shipping menu.

5. Search config xmerchantshipzip in your administration, make sure it is the correct merchant's post code where the items are shipped.


***********************************************************************************

D. CHANGES
===============

NONE

***********************************************************************************

E. CONFIGURATION SETTINGS
=================

NONE


F. DATABASE TABLES MODIFIED
===========================

NONE

***********************************************************************************

G. LANGUAGE SETTINGS CHANGED
============================

NONE

***********************************************************************************

H. CHANGE LOGS
============================

2015.07.30 - Better handling on variables to avoid errors if only installed Candadian shipping
2015.10.31 - Added <fromPostalCode> node and pass to CanadaPost to get correct shipping rates.
2016.02.01 - Enhancement: Better hanlding on openrecordset
2016.02.25 - XML: To support TLS1.2
2016.06.09 - Bug Fix: CanadaPost: Possible error while converting currency to Canada
2018.05.02 - Compatible with v9
2019.04.10 - Bug Fix: Variant products not working with Free shipping option, should follow parent product free shipping option

***********************************************************************************

I. TROUBLESHOOTING
============================

Please submit a ticket to our helpdesk at https://helpdesk.vpcart.com and our support team will assist you.

***********************************************************************************

J. FAQ
============================

NONE

***********************************************************************************
K. COPYRIGHT NOTICE
============================

Copyright (c) 1999-2019 Rocksalt International Pty. Ltd.
All rights reserved.

This software and documentation constitute a published work and
contains valuable trade secrets and proprietary information
belonging to Rocksalt International Pty. Ltd. .
None of the foregoing material may be copied,
duplicated or disclosed without the express written permission
of Rocksalt International Pty. Ltd. .

LICENSEE ACCEPTS VP-ASP Shopping Cart "AS IS" "WITH ALL FAULTS",
Rocksalt International Pty. Ltd. accepts no responsibility for the
operation or performance of the VP-ASP Shopping Cart.
The entire risk of use and consequences of use of the
VP-ASP Shopping Cart falls completely on the Licensee
and Rocksalt International Pty. Ltd. shall not be liable in any respect
for any claims, loss or injury alleged to have resulted
from use of or in reliance on VP-ASP Shopping Cart.

Licensee acknowledges that it has read the foregoing
disclaimers of warranty and limitation of liability
and understands that Licensee assumes
the entire risk of using VP-ASP Shopping Cart.


***********************************************************************************

L. TERMS AND CONDITIONS
============================
ROCKSALT INTERNATIONAL GRANTS TO THE LICENSEE A NON-EXCLUSIVE,
NON-SUB LICENSABLE, NONTRANSFERABLE LICENSE
TO INSTALL AND USE THIS APPLICATION ON A SINGLE DOMAIN FOR
A SINGLE SHOP.

THE CODE IN THE APPLICATION MAY BE MODIFIED FOR USE IN
SETTING UP A SINGLE SHOPPING SITE ON THE WORLD WIDE WEB.

LICENSEE MAY MAKE A COPY OF THE APPLICATION FOR
BACK-UP AND ARCHIVAL PURPOSES, PROVIDED THAT ANY COPY
MUST CONTAIN ALL PROPRIETARY NOTICES INCLUDED
WITH THE APPLICATION.

LICENSEE IS PROHIBITED FROM SELLING OR DISTRIBUTING
THE APPLICATION IN ANY MANNER.

LIMITATION OF LIABILITY.

ROCKSALT INTERNATIONAL AND ITS LICENSORS SHALL
NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE OR ANY
THIRD PARTY AS A RESULT OF USING OR DISTRIBUTING THIS
APPLICATION.

IN NO EVENT WILL ROCKSALT INTERNATIONAL OR ITS LICENSORS
BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA,
OR FOR DIRECT, INDIRECT, SPECIAL,
CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES,
HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LI
ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE,
EVEN IF ROCKSALT INTERNATIONAL HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.