Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Addon Payment Modules / Linkpoint error - cannot connect

Linkpoint error - cannot connect

Started by sammybotz on 31 Mar 2007, 3:51 PM · Views: 11,403

Results 21 to 31 of 31
3 Apr 2007, 3:55 PM
#21
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Linkpoint error - cannot connect

you opened it in the firewall ( hardware firewall ) did you open it in apache?

Zen cart PCI compliant Hosting

3 Apr 2007, 9:04 PM
#22
swguy avatar

swguy

Administrator

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

Re: Linkpoint error - cannot connect

Wild shot in the dark: Are you absolutely positive you have access to Linkpoint API with your PEM file? There are different levels; perhaps you have the lower level. Call them to verify.

I must say, I wish they had written these error messages in Greek for greater clarity. :)

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

3 Apr 2007, 9:06 PM
#23
swguy avatar

swguy

Administrator

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

Re: Linkpoint error - cannot connect

sammybotz:

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

telnet <their IP> 1129

telnet <your IP> 1129 (from somewhere other than your host obviously).

Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

4 Apr 2007, 7:43 AM
#24
drbyte avatar

drbyte

Sensei

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

Re: Linkpoint error - cannot connect

Your problem is not related to ports, or you wouldn't be getting the error messages back from Linkpoint.

Your problem is that your pem file is either:

  • missing
  • unreadable
  • formatted incorrectly
  • needing proper permissions
  • blocked from external access
  • double-spaced due to bad upload
  • etc

What does your server's errorlog say? Every time you attempt a payment, Linkpoint comes back to your server and attempts to read your .pem file for security information. If it's blocked, your server's errorlog should say why.

Try accessing the file via your own URL, like this: https://your_site.com/blah/includes/modules/payment/linkpoint_api/123456.pem

  • try with https and http
  • what errors do you see?
  • what's in the errorlog ?
  • are you sure you don't have a .htaccess file blocking it ? ... in the / or /zencart or /includes folders?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

4 Apr 2007, 10:22 AM
#25
swguy avatar

swguy

Administrator

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

Re: Linkpoint error - cannot connect

Sammy, are you doing any URL modification (SEO URLs or anything like that)?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

4 Apr 2007, 2:32 PM
#26
sammybotz avatar

sammybotz

New Zenner

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

Re: Linkpoint error - cannot connect

when using http or https i get:

https://XXXXXXXXX.com/zencart/includes/modules/payment/linkpoint_api/XXXXXXXXXXX.pem
Forbidden

You don't have permission to access /zencart/includes/modules/payment/linkpoint_api/XXXXXXXXXXXi.pem on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at https://www.XXXXXXXX.com Port 80

i tried renaming all .htaccess files and got the same error upon checkout.

i downloaded the file via the download center at linkpoint and uploaded via cuetftp. i tried the auto mode and binary mode.

dont know what error log to look into via linux/apache

the view of the .pem file via cuteftp:

-----BEGIN RSA PRIVATE KEY-----
xxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxx
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
xxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxx
-----END CERTIFICATE-----

to swguy. i am not doing any url modifications or SEO's. thanks to everybody for trying to help me.

4 Apr 2007, 11:48 PM
#27
sammybotz avatar

sammybotz

New Zenner

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

Re: Linkpoint error - cannot connect

I can't believe I got it working. When you login to linkpointcentral.com to check your orders it asks for: "Enter your StoreNumber"

This number is used when downloading the .pem file. storenumber.pem

When configuring linkpoint in the admin section of zencart I thought it asked for a merchant ID. So I called linkpoint and they gave me a completely different merchant ID number, so this is the number I was using.

I just right now noticed this text in the admin section:
This is the same as the number in the PEM digital certificate filename for your account.

I am so sorry for waisting everybody's time from my stupidity. Thanks for everything on this issue guys.

5 Apr 2007, 3:27 AM
#28
drbyte avatar

drbyte

Sensei

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

Re: Linkpoint error - cannot connect

Glad it's working ;)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Mar 2011, 4:49 PM
#29
anesupport avatar

anesupport

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

Am getting the same error and have double-checked - filename (1234567890.pem) and the store number (1234567890) match, .htaccess is removed, and permissions are 775.

Am using Linkpoint's staging server without an SSL certificate applied in Zen-Cart. Can the lack of an SSL certificate cause this error?

8 Mar 2011, 8:05 PM
#30
drbyte avatar

drbyte

Sensei

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

Re: Linkpoint error - cannot connect

There are a few different errors discussed in this very old thread which relates to older versions of Zen Cart.

How about starting with telling which version you're using, and what exact error message you are getting?
And why are you fussing about with the staging server? ZC doesn't allow for end-user activation of the staging server, since that's intented for programmer use, not storeowners.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Mar 2011, 8:35 PM
#31
anesupport avatar

anesupport

New Zenner

Join Date:
Jul 2009
Posts:
10
Plugin Contributions:
0

Re: Linkpoint error - cannot connect

Dr. Byte,

Thanks for replying. Here is the info:

Zen-Cart 1.3.9h

Error SGS-020005: Error (Merchant config file is missing, empty or cannot be read).

Not sure what you mean by "end-user activation of the staging server". Am a sysadmin tasked with testing credit cards & linkpoint functionality on a new ZC install for a customer.

Reading your post, I guess I was wrong that the quickest way to test credit cards & linkpoint functionality without paying linkpoint immediately is to setup a quick staging server account.

If Zen-Cart doesn't support the staging server account then we'll have to wait for the customer to signup for a linkpoint account through their bank before we can test if transactions actually work in Zen-Cart.

(BTW, this thread is one of the top 5 hits on google for the error mentioned above. Should people not respond to old threads? Is it better to start a new thread when good info about this error has already been posted by yourself and others in this one? Thanks for any clarification.)