Zen Cart Logo
Forums / Addon Payment Modules / Linkpoint error - cannot connect

Linkpoint error - cannot connect

Views: 11,394

Results 1 to 20 of 31
31 Mar 2007, 3:51 PM
#1
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Linkpoint error - cannot connect

Upon checkout I receive this error message in live production mode for one dollar:

We apologize for the inconvenience, but we are presently unable to contact the Credit Card company for authorization. Please contact the Store Owner for payment alternatives.

Can someone please give me a hint where to start. I lease a small linux server and I opened TCP_IN to 1129 and TCP_OUT to 1129 in my kiss firewall and restarted it.

In the zencart admin section when I go to tools, server/version info, I see the below text about curl:
CURL support enabled CURL Information libcurl/7.15.3 OpenSSL/0.9.7a zlib/1.1.4
Anybody know how I can begin to troubleshoot this problem?

Thank you

1 Apr 2007, 5:30 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Linkpoint error - cannot connect

'We apologize for the inconvenience, but we are presently unable to contact the Credit Card company for authorization. Please contact the Store Owner for payment alternatives.'
the above error can occur as a result of:
- port 1129 not open for bidirectional communication
- CURL access requires a proxy server configuration (esp GoDaddy etc)
- CURL is not installed or not functioning
- incorrect or invalid or "no" .PEM file found in modules/payment/linkpoint_api folder
- In general it means that there was no valid connection made to the gateway... it was stopped before it got outside your server

1 Apr 2007, 10:24 PM
#3
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

I opened port 1129 in my kiss firewall for tcp_in and out. Is there anything else I have to do to allow port 1129 to be bidirectional?

Or possibly allow port 1129 in the curl files somehow?

I know curl is installed and compiled into php properly via a php info page.

Thank you very much

2 Apr 2007, 12:40 AM
#5
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

Communications Check Mode
**Do not enable this unless asked to by tech support. **This advanced programmer testing mode will display large amounts of communication information on your checkout pages, and will prevent successful checkouts.

Thank you

2 Apr 2007, 6:57 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Linkpoint error - cannot connect

sammybotz:

Looks like I got the wrong download for linkpoint. I have no URL space or debug option.

Can you please give me the link for the correct linkpoint contribution?

The one I have now is:
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_48&products_id=179

Thank you very much for all your help.

The downloadable contribution is not the latest code.

The latest version with usable debug support is built-in to v1.3.7, and is not published as a separate contribution.

2 Apr 2007, 9:47 AM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,709
Plugin Contributions:
56

Re: Linkpoint error - cannot connect

Sammy, the way to move forward might be for you to just install a scratch 1.3.7 cart with the demo products just for the purposes of debugging this problem. Then once you know LinkPoint works with 1.3.7, all you'll need to do is the upgrade from your current version and you'll be done.

2 Apr 2007, 4:18 PM
#8
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

i deleted the contribution and put back the original 1.3.7. files i had initially since i am using 1.3.7

below is the error message:

server responds: unable to use client certificate (no key found or wrong pass phrase?) ErrNo:58 server responds: FAILURECould not connect.
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXXX/public_html/zencart/includes/modules/payment/linkpoint_api/class.linkpoint_api.php:178) in /home/XXXXXXXX/public_html/zencart/includes/functions/functions_general.php on line **44

Thank you
**

2 Apr 2007, 4:24 PM
#9
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Linkpoint error - cannot connect

you need to uninstall the modules from the admin section
then you need to re-upload the entire includes/modules folder
from a fresh 1.3.7

2 Apr 2007, 5:42 PM
#10
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

i uninstalled the linkpoint module via the admin section. i removed the entire /includes/modules folder via ftp. i uploaded a new one and installed the module via the admin section. i tried it and got this error:

server responds: unable to use client certificate (no key found or wrong pass phrase?) ErrNo:58 server responds: FAILURECould not connect.
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXXX/public_html/zencart/includes/modules/payment/linkpoint_api/class.linkpoint_api.php:178) in /home/XXXXXXXX/public_html/zencart/includes/functions/functions_general.php on line **44

thank you
**

2 Apr 2007, 6:52 PM
#11
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Linkpoint error - cannot connect

you need to upload your PEM file

2 Apr 2007, 8:46 PM
#12
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Linkpoint error - cannot connect

I agree with merlin about the PEM file. If you don't have one or it contains invalid data or is not readable, you'll have problems.

3 Apr 2007, 12:08 AM
#13
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,709
Plugin Contributions:
56

Re: Linkpoint error - cannot connect

Sammy, did you put a PEM file in includes/modules/payment/linkpoint_api?
And does the filename match the number you entered in admin->Modules->Payment->LinkPoint
for the Merchant ID?

3 Apr 2007, 12:56 AM
#14
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

Thanks to everybody for their responses to this thread, I appreciate it.

swguy, I think your on to something. For some reason I was using a different number for the pem file. Now I entered the merchant id number.pem, which is in the admin section of the linkpoint module and I get a different error now:

SGS-020005: Error (Merchant config file is missing, empty or cannot be read). Your card has been declined. Please re-enter your card information, try another card, or contact the store owner for assistance.

server responds: ErrNo:0 server responds: SGS-020005: Error (Merchant config file is missing, empty or cannot be read).
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXXXX/public_html/zencart/includes/modules/payment/linkpoint_api/class.linkpoint_api.php:178) in /home/XXXXXXXX/public_html/zencart/includes/functions/functions_general.php on line **44

THank you
**

3 Apr 2007, 1:27 AM
#15
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,709
Plugin Contributions:
56

Re: Linkpoint error - cannot connect

I think you want simply the merchant number in that field (e.g. 123456). Try that.

3 Apr 2007, 1:39 AM
#16
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

I dont have .pem in the admin section, only the number. The file I uploaded has the .pem extension.

Thank you

3 Apr 2007, 5:34 AM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Linkpoint error - cannot connect

So ... please confirm ....

a. you've entered your account number (ie: 123456) in the Linkpoint module settings
b. you've uploaded the 123456.pem (.pem is lowercase) file from Linkpoint into the /includes/modules/payment/linkpoint_api/ folder
c. the 123456.pem file is world-readable.

3 Apr 2007, 5:38 AM
#18
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

That is correct. I have a store number and a merchant id number from linkpoint. I put the merchant id number is the two spots like you described. I uploaded via cuteftp in auto mode and also tried binary mode. The permissions are set to 644 for the .pem file.

Thank you very much

3 Apr 2007, 5:55 AM
#19
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Linkpoint error - cannot connect

  1. What happens if you set the .pem file permissions to 755 or 777 temporarily for a test?

  2. Do you have any .htaccess files in any of these folders?:

  • /
  • /includes
  • /includes/modules
  • /includes/modules/payment
  • /includes/modules/payment/linkpoint_api
    If so, please rename them one at a time to htaccess_OFF and test again.
3 Apr 2007, 1:40 PM
#20
sammybotz avatar

sammybotz

New Zenner

Join Date:
Mar 2007
Posts:
68
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

Tried it all with no luck. Would this error message occur if port 1129 were not open? I opened it in the firewall and restarted it but did not test it.

Do you know ssh commands to test and see if the port is open the way its supposed to be?

Thank you