API ERRORS



PHP could not execute cURL error
PHP cURL error is a generic error. Most of the time it is caused due to incorrect path for the PEM file.
Also make sure port 1129 is not being blocked by the web host.
On a UNIX server the path for the PEM file should look something like this:
$myorder["keyfile"] = "/home/htdocs/www/linkpoint/123456.pem";

On a WINDOWS server the path should look like this:
$myorder["keyfile"] = "c:\\inetpub\\wwwroot\\linkpoint\\123456.pem";

If you can not determine the path for the PEM file you can use the following code: (make sure the PEM file is in the same directory as your PHP file)
$myorder["keyfile"] = realpath("123456.pem");


PHP Status: < Error: <
More than likely you have the wrong path for the PEM file.

On a UNIX server the path for the PEM file should look something like this:
$myorder["keyfile"] = "/home/htdocs/www/linkpoint/123456.pem";

On a WINDOWS server the path should look like this:
$myorder["keyfile"] = "c:\\inetpub\\wwwroot\\linkpoint\\123456.pem";

If you can not determine the path for the PEM file you can use the following code: (make sure the PEM file is in the same directory as your PHP file)
$myorder["keyfile"] = realpath("123456.pem");


PHP Warning: Variable passed to each() is not an array or object
More than likely you have the wrong path for the PEM file.

On a UNIX server the path for the PEM file should look something like this:
$myorder["keyfile"] = "/home/htdocs/www/linkpoint/123456.pem";

On a WINDOWS server the path should look like this:
$myorder["keyfile"] = "c:\\inetpub\\wwwroot\\linkpoint\\123456.pem";

If you can not determine the path for the PEM file you can use the following code: (make sure the PEM file is in the same directory as your PHP file)
$myorder["keyfile"] = realpath("123456.pem");


Unable to use client certificate (no key found or wrong pass phrase?)
You are receiving this error becuase you have the wrong path for the PEM file. Also make sure you upload the PEM file in ASCII format for UNIX servers.
On a UNIX server the path for the PEM file should look something like this:
$myorder["keyfile"] = "/home/htdocs/www/linkpoint/123456.pem";

On a WINDOWS server the path should look like this:
$myorder["keyfile"] = "c:\\inetpub\\wwwroot\\linkpoint\\123456.pem";

If you can not determine the path for the PEM file you can use the following code: (make sure the PEM file is in the same directory as your PHP file)
$myorder["keyfile"] = realpath("123456.pem");


Java SSLHandshakeException error
SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found

You will receive this error when using the staging server. You will need to add the certificate on the staging server to your cacerts trusted list file.
  1. Get the certificate by going to https://staging.linkpt.net:1129 using Internet Explorer. When the security alert box pops up, click on "View Certificate."
  2. Then click on the "Details" tab at the top.
  3. Then click on "Copy to File..." button.
  4. Select the DER encoded binary X.509 (.CER) format. Save the file and remember the location you saved it and its filename.
  5. Locate your "cacerts" file, usually in $JAVA_HOME/jre/lib/security/cacerts
  6. Type the following command:
    keytool -import -file /path/filename.cer - keystore $JAVA_HOME/jre/lib/security/cacerts
  7. It will ask for a password, default password is "changeit"


Unable to connect error
Contact your web host and verify they are not blocking port 1129. Some web hosts like GoDaddy will block this port.


Windows COM Object unable to load certificate error
Error:
Unable to load certificate ERRs: wsa=3358530 err=3358530 ssl=537317504
sys=33558530 ACE_SSL (772|2500) error code: 33558530
error:02001002:lib(2):func(1):reason(2)


Reason: The wrong path for the PEM file, permissions problem, or PEM file is corrupt.

Error:
Unable to load certificate ERRs: wsa=3358530 err=3358530 ssl=537317504
sys=33558530 ACE_SSL (772|2500) error code: 33558530
error02001002:system library:fopen:No such file or directory


Reason: The wrong filename entered for the PEM or its not in the directory.

  • Make sure you include the full path for the PEM including the drive letter. For example:
    Const keyfile = "c:\inetpub\wwwroot\linkpoint\123456.pem"
  • Check the permissions of the PEM file. The permissions need to be read and execute for everyone.
  • Try placing the PEM in a different directory. For example, in the same directory as the HTML files.


Windows COM Object stops responding intermittently
Download Windows COM Object 3.0.17 and install LpiCom_6_0.dll from the included file.
Make sure you unregister the DLL and delete the existing file.
At the DOS prompt window type the following command:
regsvr32 /u c:\windows\system32\lpicom_6_0.dll

Delete the existing file and upload LpiCom_6_0.dll
Register the DLL by entering the following command at the DOS prompt:
regsvr32 c:\windows\system32\lpicom_6_0.dll

You will also need to restart IIS.
At the dos prompt window type the following command:
iisreset

If the server is Windows 2003 server you will need to change the application pool.
Go to Start -> Programs -> Administrative Tools -> Internet Information Services (IIS) Manager




Windows COM Object Server.CreateObject Failed
Server objecct error 'ASP 0177 : 800703e6'
Server.CreateObject Failed
/linkpoint/SALE_MININFO.asp, line 2
800703e6


Download Windows COM Object 3.0.17 and install LpiCom_6_0.dll from the included file.
Make sure you unregister the DLL and delete the existing file.
At the DOS prompt window type the following command:
regsvr32 /u c:\windows\system32\lpicom_6_0.dll

Delete the existing file and upload LpiCom_6_0.dll
Register the DLL by entering the following command at the DOS prompt:
regsvr32 c:\windows\system32\lpicom_6_0.dll

You will also need to restart IIS.
At the dos prompt window type the following command:
iisreset

If the server is Windows 2003 server you will need to change the application pool.
Go to Start -> Programs -> Administrative Tools -> Internet Information Services (IIS) Manager


Windows COM Object unable to connect to server SSL PRNG not seeded
Unable to connect to server ERRs: wsa=0 err=604389476 ssl=0
sys=- INFO: ACE_SSL (46568|57876) error code: 604389476 -
error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded

This error is a problem with the COM Object that seems to affect Windows 2003 server.
There is no work around currently available.


Windows COM Object unable to resolve the hostname
Unable to resolve the hostname ERRs: wsa=0 err=11004 ssl=0 sys=11004 INFO:
ACE_INET_Addr:ACE_INET_Addr: secure.linkpt.net


Make sure the correct host name is entered in the config.inc file.
This could be a DNS issue, you can try replacing the host name with the IP address for secure.linkpt.net


Windows COM Object error The call to Server.CreateObject failed
Server object error ASP 0178
The call to Server.CreateObject failed while checking
permissions. Access is denied to the object.
/filename.vb, line 32


Make sure you have installed libeay32.dll and ssleay32.dll in the system32 directory
OR
Download Windows COM Object 3.0.17 and install LpiCom_6_0.dll from the included file.
Make sure you unregister the DLL and delete the existing file.
regsvr32 /u c:\windows\system32\lpicom_6_0.dll

You will also need to restart IIS.
At the dos prompt window type the following command:
iisreset

Also make sure the permissions are setup correctly for LpiCom_6_0.dll
The anonymous user named USERS (iuser) should have read & execute permissions to LpiCom_6_0.dll


Windows COM Object error Invalid class string
Server object error ASP 0177
Invalid class string
/filename.vb, line 32


Either the file Lpicom_6_0.dll is missing or was not registered.
Make sure you place the file in the system32 directory.
Run the following command at the dos prompt to register the DLL file.
regsvr32 /u c:\windows\system32\lpicom_6_0.dll

You will also need to restart IIS.
At the dos prompt window type the following command:
iisreset



Windows COM Object error Invalid class string
Server object error ASP 0178
Invalid class string
/filename.vb, line 32


Make sure the correct permissions are setup for LpiCom_6_0.dll


Windows COM Object taking long time to process transactions
This has worked for some merchants, your results may vary.
  1. On the web server go into Network Connections
  2. Right-click the Local Area Connection and select Properties
  3. Click on Internet Protocol (TCP/IP) and then click on Properties
  4. Click on the Advanced button
  5. Click on the WINS tab and select "Disable NetBIOS over TCP/IP."
  6. Click OK


.NET unable to load lpsll.dll
Make sure you have installed the 2 OpenSSL files in the system32 directory. Also make sure you remove any copies from the bin directory.
libeay32.dll
ssleay32.dll
http://linkpoint.com/support/openssl_download.htm

If the error continues, remove the 2 OpenSSL files from the system32 directory and place them in the bin directory.


C#.NET LinkPointTransaction could not be found
The LinkPointTransaction.dll file is located in the bin directory. Remove the reference to the file at the top and add it again.


Why do I keep getting an invalid XML error for a periodic bill?
Make sure you do not set "threshold" to be more than 5.


Why don't my transaction show up in the reports when I set RESULT to GOOD?
When ever you set RESULT to GOOD, the transactions will not show up on the LinkPoint Central reports. You will need to change it to LIVE for the transactions to show up in the reports.