|
|
|
COLDFUSION API SETUP
LinkPoint API Adobe Acrobat PDF manual
NOTE: If your web site is hosted by GoDaddy you will NOT be able to use LinkPoint API because they block port 1129. You can try to contact Godaddy to see if they will unblock this port otherwise you will have to use the Connect option.
Before you begin using LinkPoint API you will also need to download the PEM file.
NOTE: The LinkPoint PEM can not be installed on the web server as a SSL certificate.
- Log into LinkPoint Central
- Click on Support on the top menu.
- On the left menu click on Download Center
- Click on Download PEM
- Save the file to your desktop
- Upload the PEM file to the root of your web site or any other folder.
If your web site is on a UNIX server you need to make sure you upload the file in ASCII (text) format.
COLDFUSION
REQUIREMENTS:
OpenSSL
The ColdFusion wrapper requires you have server access to install a DLL.
If you are on a shared hosting environment then you may not be able to use the ColdFusion wrapper.
Port 1129 needs to be open on the web server. Contact your web host to verify.
Must have a SSL certificate or a shared SSL (secure server).
- Download the ColdFusion wrapper
NOTE: The version of OpenSSL integrated into COM Object 3.0.17 is not the latest one.
You can download version 3.0.15 instead and install OpenSSL separately.
- Upload LpiCom_6_0.dll to the system32 directory (C:\windows\system32)
- Register the DLL file
- Click on Start
- Click on Run
- Type cmd then click OK
- At the dos prompt window type in the following command:
regsvr32 c:\windows\system32\lpicom_6_0.dll
- If you make a mistake you will need to unregister the DLL file with the following command:
regsvr32 /u c:\windows\system32\lpicom_6_0.dll
- If download is named 30002_lcfx then you will also need to install 2 files into the web server for OpenSSL.
You can download and install OpenSSL on your local computer then copy the 2 files from your system32 directory. You do not need to register these files, just place them in the system32 directory on the web server.
libeay32.dll
ssleay32.dll
http://www.slproweb.com/products/Win32OpenSSL.html
- You may also need to restart IIS.
At the dos prompt window type the following command:
iisreset
- Upload one of the example files such as SALE_MININFO.cfm
- In order to use one of the example files you will also need to upload the following files into the same directory:
config.inc
status.cfm
lpcfm.cfm
FormatOutput.cfm
- Edit the config.inc file and change the following 2 lines:
CODE
CFSET configfile = "xxxxxx"
CFSET keyfile = "C:\xxxxxx.pem"
- Make sure you replace 123456 with your LinkPoint store number:
CODE
CFSET configfile = "123456"
CFSET keyfile = "c:\inetpub\wwwroot\linkpoint\123456.pem"
If you downloaded a different version of the wrapper you will need to make a change to the status.cfm file. Either comment out or delete the following line of code:
CODE
<cfif isDefined('rootResp.r_score')><cfset r_score = "#rootRep[i].r_score.r__providerone.xmltext#"><cfelse><cfset r_score = ""></cfif>
|