VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

Search Helpnote Topics

 

TLS 1.2 Update

TLS 1.2 Update

VPCart recently updated the TLS 1.2 Update for both VPCart Version 8 and Version 7.

To find out if your site is ready for the TLS changes being introduced by shipping providers and payment gateways over the course of 2016 please download our TLS Compatibility module :

a) TLS 1.2 Checker For Version 8

b) TLS 1.2 Checker For Version 7

 

Once you have ran the TLS 1.2 Checker and found out that your site is not compatible, please continue to follow the steps outlined below. If the TLS 1.2 Checker has shown that your site is already compatible then you will need to ensure that the Payment Gateway and Shipping Interfaces' (modules) are all up-to-date and are fully compatible with the TLS 1.2 Update.

 

You may download the TLS 1.2 Update:

a) TLS 1.2 For Version 8

b) TLS 1.2 For Version 7

 

 

The current shopxmlhttp.asp is being used by VPCart front store and also admin section. The same component (MS XML) could have been used in VPCart addons/modules, but might be using their own XML filename.

Examples of the VPCart core features that use this shopxmlhttp.asp file or MS XML component :

  • Paypal Payflow Link
  • Paypal Payflow Pro
  • PayPal Payments Pro
  • PayPal Payments Advanced
  • Captcha form protection

Examples of VPCart addons/modules that use this shopxmlhttp.asp file or MS XML component :

  • Currency Converter
  • Newsletter module
  • TaxCloud module
  • Temando module
  • UK Post Code Lookup
  • UPS realtime
  • US Postal realtime
  • Fedex realtime
  • Australia Post realtime
  • Canada Post realtime

Some of the gateway modules :

  • Authorize Net AIM gateway
  • eWAY Shared Payment gateway
  • eWay Rapid 3.1 Integrated Payment
  • eWay Hosted Payment for NZ/UK
  • Quickbooks gateway

 

Now, please find the steps on how to download and install it below :

 

Step 1 : Download the respective module for your VPCart's Version and unzip the files. To unzip the files, you may use tools like WinZip, WinRAR, or 7Zip among others.

You will have three files in the main folder and two in admin folder and they are : 

  • $readme_tls12800.txt
  • shopxmlhttp.asp
  • shopxmlhttp_v8.asp
  • admin\shopxmlhttp.asp
  • admin\shopxmlhttp_v8.asp

Please also take note that the TLS 1.2 Update will work only on Windows Server 2008 and above (Win Server 2012, Win 10 Editions, Win 8 Editions)

 

Installing on VPCart Core

For VPCart core features, simply just overwrite the files shopxmlhttp.asp to replace the older version.

Step 1 : Rename your old files shopxmlhttp.asp to shopxmlhttp.asp.bak on both cart and admin folder (you might rename your admin folder)

Step 2 : Upload the .txt, shopxmlhttp.asp, and shopxmlhttp_v8.asp files to your cart and admin folder (you might have renamed your admin folder)

 

Installing On VPCart Addons/Modules

For VPCart addons/modules, please check what modules (as listed above) you are using in your site. For an example, if you are using Authorize Net AIM gateway, then you will need to download the latest module and upload it to your site. To download the modules, you must be either running on our Business Ready Plan or you will have to have an active license. 

The latest Modules and Add-Ons can be downloaded from :

If you have customized code in that respective module (s), you may need to modify your files manually by tracing and replacing the xml routine as per the examples below :

 

Example 1 (AuthorizeNet AIM Gateway)

A file without any XML specific header --- anaimshoppayment.asp (AuthorizeNet - AIM Module)

 
Step 1 : Make sure the instruction for "includes" always link to shopxmlhttp.asp, as shown below. If it does not have the xml file include's instruction, you will need to insert the code on your own. Open the file (anaimshoppayment.asp) using an editor like NotePad++.

<!-- #include file="shopxmlhttp.asp" -->

 

 
Step 2 : Search for xml routine (preferabbly, do a search for " shopxmlhttp ") and replace it with the code from the Shopxmlhttp_v8.asp file, as shown below :
 
From 
Line 293

Shopxmlhttp xanaim_xml, xanaim_gatewaylocation, anrequest, result, "POST", xmlerror

 
To

dim rheadercnt, rheadertypeary(10), rheadervalueary(10)
rheadercnt = 0
shopxmlhttp_v8 "auto", xanaim_gatewaylocation, anrequest, result, "POST", xmlerror, rheadercnt, rheadertypeary, rheadervalueary, "", ""

 
Step 3 : Save the file and reupload it to your site via FTP Client like FileZilla or SmartFTP. 
 
Always ensure that you have backed up your files (for an example, anaimshoppayment.asp.back).
 
 
Example 2 (Eway Rapid Payment Gateway)
A file with XML specific header and Login/Password assigned via XML --- ewayrapid_xmlhttp.asp (Eway Rapid 3.1 Module)
 

Step 1 : Make sure the instruction for "includes" always link to shopxmlhttp.asp, as shown below. If it does not have the xml file include's instruction, you will need to insert the code on your own. Open the file (ewayrapid_xmlhttp.asp) using an editor like NotePad++.

 

<!-- #include file="shopxmlhttp.asp" -->

 

 
Step 2 : Search for xml routine (preferably, do a search for " shopxmlhttp ") and replace it with the code from the Shopxmlhttp_v8.asp file, as shown below :
 
From
 
Line 8 

sub Shopxmlhttp_ewayrapid (itype, iurl, httpid, httppassword, contentstring, authstring, indata, outdata, method, xmlerror)

 
To

sub Shopxmlhttp_ewayrapid (itype, iurl, httpid, httppassword, contentstring, authstring, indata, outdata, method, xmlerror)
   dim rheadercnt, rheadertypeary(10), rheadervalueary(10)
   rheadercnt = 2
   rheadertypeary(0) = "Content-Type"
   rheadervalueary(0) = contentstring
   rheadertypeary(1) = "Authorization"
   rheadervalueary(1) =  authstring
   Shopxmlhttp_v8 "auto", iurl, indata, outdata, method, xmlerror, rheadercnt, rheadertypeary, rheadervalueary, httpid, httppassword
   exit sub

 
 
Example 3 (UPS Module)
A file with XML specific header such as shopxmlhttp_ups.asp (UPS Module)
 
Step 1 : Make sure the includes always link to shopxmlhttp.asp, as per below: (if does not have the xml file include, please insert the code)

<!-- #include file="shopxmlhttp.asp" -->

 
Step 2 : Search any xml routines and replace them to the routines found in the Shopxmlhttp_v8.asp file as per below : 
From

sub Shopxmlhttp (itype, iurl, indata, outdata, method, xmlerror)

 
To

sub Shopxmlhttp (itype, iurl, indata, outdata, method, xmlerror)
   dim rheadercnt, rheadertypeary(10), rheadervalueary(10)
   rheadercnt = 2
   rheadertypeary(0) = "Content-Type"
   rheadervalueary(0) = "application/x-www-form-urlencoded"
   rheadertypeary(1) = "Content-Length"
   rheadervalueary(1) = len(indata)
   Shopxmlhttp_v8 "auto", iurl, indata, outdata, method, xmlerror, rheadercnt, rheadertypeary, rheadervalueary, "", ""
   exit sub

 
 
Finally, save the respective files and reupload them using an FTP Client like FileZilla or SmartFTP. 
 
Kindly, please clear your browser's histories, caches, sessions, and cookies before re-testing.
 
Thank you.

 


Times Viewed:
5811
Added By:
debbie
Date Created:
2/16/2016
Last Updated:
1/28/2018
Back Search other topics Submit a Ticket