Created : 16 Sept 2013
Last Modified : 29 May 2018

***********************************************************************************
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 NAB Transact Hosted Payment Gateway.
It is supporting credit card payment.

This payment gateway is supporting normal checkout and onepage checkout.

It is useful only if you have your own SSL certificate.
If you do not have SSL certificate yet, you can purchase SSL certificate at : https://www.vpcart.com/virtprog/instantssl1yr.htm

To use this module, you must register an account first with NAB. More info at: https://www.nab.com.au
***********************************************************************************

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

Files included in the zip are:
- $READ_ME_FIRST_nab900.HTML
- nab_execute.asp
- nab_process.asp
- nabaccept.asp
- nabcallback.asp
- nabconfig.asp
- nabgateway.asp
- admin/nab_setup.asp
- admin/nab_setup_config.asp
- admin/nab_setup_process.asp
- admin/sqlscripts/nab/*

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

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

1. Upload the below files to your VPCart 9.00 root folder.
- nab_execute.asp
- nab_process.asp
- nabaccept.asp
- nabcallback.asp
- nabconfig.asp
- nabgateway.asp

2. Upload the below files to your ADMIN folder. If you have renamed your ADMIN folder, then this must be placed in the renamed folder.
- admin/nab_setup.asp
- admin/nab_setup_config.asp
- admin/nab_setup_process.asp
- admin/sqlscripts/nab/*

3. Log into super admin and execute page below:
http://www.yourdomain.com/<your admin folder>/nab_setup.asp

Note: Replace the below with your VPCart site
{ www.yourdomain.com } : your site domain
{ your admin folder } : your admin folder

Click Install Now button.

4. After installation completed, you should see message below:
_______________________________________________________
The NAB Transact Hosted Payment solution initial setup has now been completed.

Please go to modules configuration page for further setup.
_______________________________________________________

5. Please click the "modules configuration page" link to setup.

- Enable? : Set to Yes to enable NAB Transact Hosted Payment gateway.

- Merchant ID
: Please enter your NAB merchant ID.

- Test Mode?: Set to Yes for testing mode. Set to No for live / production.

- Payment Status Prefix: Prefix for the NAB payment status in Orders table. Default is NAB.

Click Save button.

6. Go to admin top menu: Advanced Settings > Software Configuration. Search for xallowcreditcards and set to No.

7. You are ready to use NAB Transact Hosted payment gateway!

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

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

After you have installed NAB Transact Hosted payment gateway module, when customers do a checkout, they will see a button "Pay by Credit Card" on the checkout page. When it is clicked, customers will be redirected to NAB hosted site to enter their card.

Once payment is made on NAB site, customers will be returned back to the merchant site.

If it is a success payment, then NAB will return customers to shopthanks_displayonly.asp. (Customers will be landed here).

After that, NAB will also silently call the page nabcallback.asp.
On this page, VPCart will update the following Orders table fields as below eg :

ocardtype : NAB
oauthorisation :
NABAuth=xxxxxx
Receipt=xxxxx

Then the page nabcallback.asp will silently redirect to page shopthanks.asp to complete the order as it is a success payment. (Customers will not see this process).

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

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

New configs:
xnab_enable
xnab_merchantid
xnab_test
xnab_prefix


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

NONE

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

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

NONE

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

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