Created : 17 May 2020
Last Modified : 17 May 2020

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

A. SUMMARY
B. FILE STRUCTURE
C. INSTALLATION INSTRUCTION
D. HOW IT WORKS
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 Clearsale: https://br.clear.sale/

IMPORTANT NOTE:
It is advisable to install SSL certificate on your shopping cart site.

If you need to have SSL certificate for your site, you can purchase at:
https://www.vpcart.com/virtprog/instantssl1yr.htm

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

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

Files included in the zip are:
Refer to package

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

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

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/clearsale_setup.asp

3. After setup the module, would be redirected Module configuration page for configure the module

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

D. HOW IT WORKS
===============

1. On successful checkout (on shopthanks.asp):
1A. Submit order to Clearsale
1B. Update clearsale fields on orders table

2. Create a notification page to receive notification from Clearsale
2A. You need to inform Clearsale the notification URL located on your site, which is, http://www.yourdomain.com/yourshoppingcartfolder/clearsale_accept_post.asp
2B. After Clearsale notify there is something changed on specified orders, send staus check to Clearsale
2C. Update clearsale fields on orders table

3. Re-analyse orders
3A. On admin panel, order detail page
3B. Merchant able to click "Clearsale: Re-anaylse order"
3C. After this button clicked, Submit order to ClearSale
3D. Update clearsale fields on orders table

4. Status check
4A. On admin panel, order detail page
4B. Merchant able to click "Clearsales: Status check" button
4C. After this button clicked, send staus check to ClearSale
4D. Update clearsale fields on orders table

5. View clearsale information
5A. On admin panel, order detail page
5B. Merchant able to view Clearsale information at Clearsale section
5C. On admin panel, orders listings page
5D. Merchant able to view Clearsale information after expand Order popup modal.

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

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

New configurations for Clearsale modules.

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

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

1. New field: orders.clearsale_code

2. New field: orders.clearsale_status

3. New field: orders.clearsale_score

4. New field: orders.clearsale_notify_last_date

5. New field: orders.clearsale_notify_last_type

6. New field: orders.clearsale_statusdate

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

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

1. langclearsale_information: Clearsale Information

2. langclearsale_ordercode: Order code

3. langclearsale_status: Status

4. langclearsale_score: Score

5. langclearsale_notify_update_date: Notification: Last update date

6. langclearsale_notify_update_type: Notification: Last update type

7. langclearsale_statuscheck: Clearsale: Status check

8. langclearsale_reanalyseorders: Clearsale: Re-anaylse orders

9. langclearsale_statusupdated: Clearsale status updated.

10. langclearsale_status_update_date: Status: Last update date

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

NONE

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

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-2020 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.