Forums / Addon Payment Modules / How to open port 1129?

How to open port 1129?

Locked

Views: 14,360

Results 1 to 20 of 47
This thread is locked. New replies are disabled.
3 Jun 2007, 8:49 AM
#1
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

How to open port 1129?

Well I've ready every single post on the topic and given volume of discussion about how it's important to be able to open port 1129 to run the Linkpoint API, there is not one mention of how to do it.

So, er, well... How do you do it?

I'm doing this on a virtual dedicated server running Fedora Core 4. I'm fairly comfortable with Ubuntu but FC is just different enough make for a bit of confusion. Plus there's no GUI, of course.

And yes, if I find out the command is

open 1129
```I will definitely feel dumb.

OK, just tried it, and that's not what it is.  : )
3 Jun 2007, 11:13 AM
#2
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: How to open port 1129?

The file you would be looking for would be this one:

  • includes/modules/payment/linkpoint_api.php file.

Line: ```php
$myorder["port"] = "1129";


on: 276. :wink2:

Note: If you intend to make any modifications, be sure to make a backup first.

Also take note there are two different server connections for testing:

> staging.linkpt.net
> secure.linkpt.net

coded for linkpoint under that file.
3 Jun 2007, 2:51 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: How to open port 1129?

DO NOT use TheOracle's instructions above. They are incorrect, and appear to be the result of not reading the original post thoroughly.
You cannot resolve your problem by making coding changes.
Linkpoint must use port 1129. Changing the code to do something different will absolutely prevent you from getting the module to work.

Merlin's advice is correct. You must configure firewall settings ... from command line.
In most cases, the server's administrator or the hosting company would do this for you. However, since you have a dedicated server of sorts, you may have to do it yourself or raise a support ticket to engage them for additional assistance if you are unable to make it work or are uncomfortable with making the changes and retaining full system security.

.
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.

3 Jun 2007, 6:19 PM
#5
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: How to open port 1129?

DO NOT use TheOracle's instructions above. They are incorrect.

Beg to differ. I did not instructed such things as modifying these blocks but rather gived the source on where the requester asked for his answers as I also mentionned that if modifications had to be made (which I wouldn't recommend it myself), then to make a backup.

you may have to do it yourself or raise a support ticket to engage them for additional assistance if you are unable to make it work or are uncomfortable with making the changes and retaining full system security.

Althought, this is what should rather be done. Thanks for your understanding.

3 Jun 2007, 6:27 PM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Re: How to open port 1129?

Oracle,

The user already knew they needed port 1129,

thats why they tried a command line open port 1129

Pointing them to th eline of code in the linkpoint module was pointless and confusing,

Thats why people came behind you and said NOT to follow your directions,

wasnt anyone picking on you, just trying to keeop a user from being completly lost and making changes to code when its the server that needs adjustment

Zen cart PCI compliant Hosting

4 Jun 2007, 12:07 AM
#7
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

Yipes! Um, thanks...

So just to make sure I'm clear, I'm to go with Merlin's answer?

4 Jun 2007, 12:12 AM
#8
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Re: How to open port 1129?

yes IF you have root access,
then you can open port 1129

but this is done on the server NOT in a zc file

Zen cart PCI compliant Hosting

4 Jun 2007, 2:51 AM
#9
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

Sweet, thanks merlin. I'd been searching for a link just like that one for quite some time. Well as you can see, my iptables show that port 1129 is now ready willing and able to accept bidirectional traffic to and from Linkpoint:

Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  216.66.211.227       anywhere            state ESTABLISHED tcp dpt:1129

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     tcp  --  anywhere             216.66.211.227      state NEW,ESTABLISHED tcp dpt:1129
```but when attempting a test transaction I continue to get the dreaded "We apologize for the inconvenience, but we are presently unable to contact the Credit Card company for authorization" message. 

But that's got to be a pretty easy thing to fix, right?
4 Jun 2007, 3:02 AM
#10
merlinpa1969 avatar

merlinpa1969

Totally Zenned

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

Re: How to open port 1129?

did youu restart the iptables,
and are you running any other firewalls such as APF

if so you will need to configure the open ports there as well

Zen cart PCI compliant Hosting

4 Jun 2007, 3:15 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: How to open port 1129?

Are you using Zen Cart v1.3.7 and the built-in Linkpoint API module? Or an older version and a downloaded module?

.
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 Jun 2007, 3:36 AM
#12
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

And by the way, at the Linkpoint website there is a form that asks for the url of your submission form (e.g. "http://www.yourserver.com/index.php?main_page=checkout_payment") as well as the urls for my confirmation and failure pages. Do I have to fill that out? Or did the module already submit that info when I set it up?

And perhaps more generally: are there any instructions for this module available? I'm just thinking how helpful it might be to have a list of instructions like:

To set up the Linkpoint module with your Zen cart, do the following 10 steps:
Step 1. Do this.
Step 2. Do that.
etc. etc. to step 10.

It would certainly be easier than coming to the forum and first spending ages searching it so you don't offend anyone by asking a question that's been answered a thousand times, and after not finding anything *then *posting something like: "Um, how do I do step 1?" as I did in this thread, followed by waiting for an answer, and then repeating that process for each of the known steps. Plus, as it is, there's no real way to even know what each step is, which of course is a prerequisite for asking how to do it. : )

And I do know about the "readme.txt" file that comes with the download version of the module, but that document seems to skip a few steps, e.g. it states "You are done!" as soon as you've finished configuring the module in the admin control panel! I wish that were true, because I finished that part weeks ago! Besides, I think few people will read that file anyway now that they don't actually have to download the module.

OK, and now I'm ready for someone to thoroughly embarrass me by posting a link to the instructions that are like stickied to the top of this forum or something. : )

4 Jun 2007, 3:38 AM
#13
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

DrByte:

Are you using Zen Cart v1.3.7 and the built-in Linkpoint API module? Or an older version and a downloaded module?
Excellent! I was just posting about that. Didn't even know they were different. I do have v1.3.7 and I have no memory of installing the module. Would I even be able to install it or would v1.3.7 not let that happen?

4 Jun 2007, 3:45 AM
#14
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

Merlinpa1969:

did youu restart the iptables

Did I restart iptables??? Nope, I sure didn't. All I did was

$ sudo /sbin/service iptables save
```and got```
Saving firewall rules to /etc/sysconfig/iptables:          [  OK  ]
```So I have to restart iptables?  You mean like ```
$ sudo /etc/init.d/iptables restart
```?

(This is what I meant in my post a minute ago about instructions.) :yes:
4 Jun 2007, 3:49 AM
#15
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

Merlinpa1969:

and are you running any other firewalls such as APF

if so you will need to configure the open ports there as well

Well that's a good question. I couldn't find any other firewall running on the machine, but that doesn't mean it's not there.

4 Jun 2007, 3:56 AM
#16
drbyte avatar

drbyte

Sensei

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

Re: How to open port 1129?

theapeman:

And perhaps more generally: are there any instructions for this module available?When you go to Admin->Modules->Payment and the Linkpoint module has not yet been installed, the following instructions are displayed:> Requirements:
***LinkPoint or YourPay Account **(see link above to signup)
***cURL is required **and MUST be compiled into PHP by your hosting company
*Port 1129 is used for bidirectional communication with the gateway, so must be open on your host's router/firewall
*PEM RSA Key File Digital Certificate:
To obtain and upload your Digital Certificate (.PEM) key:

  • Log in to your LinkPoint/Yourpay account on their website
  • Click on "Support" in the Main Menu Bar.
  • Click on the word "Download Center" under Downloads in the Side Menu Box.
  • Click on the word "download" beside the "Store PEM File" section on the right-hand side of the page.
  • Key in necessary information to start download. You will need to supply your actual SSN or Tax ID which you submitted during the merchant account boarding process.
  • Upload this file to includes/modules/payment/linkpoint_api/XXXXXX.pem (provided by LinkPoint - xxxxxx is your store id)

It doesn't talk about confirmation/failure pages, because it doesn't use them.
It doesn't do "techie talk" about "how" to open port 1129, because that's supposed to be your hosting company's job.

.
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 Jun 2007, 4:07 AM
#17
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

Awesome, thanks. How embarrassing would that have been (for me, I mean) if there actually were instructions somewhere?

DrByte:

It doesn't talk about confirmation/failure pages, because it doesn't use them.
So does that mean I do or do not have to go fill out that form at the Linkpoint site?

I'm assuming that those of you who are so kindly answering my questions actually use the Linkpoint module on your own sites. So did you have to go fill out that form, or did it just work without doing that?

4 Jun 2007, 4:17 AM
#18
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

I just realized that I couldn't tell if my question:

theapeman:

Excellent! I was just posting about that. Didn't even know they were different. I do have v1.3.7 and I have no memory of installing the module. Would I even be able to install it or would v1.3.7 not let that happen?asked in response to your question about which version of the module I have:> DrByte:

Are you using Zen Cart v1.3.7 and the built-in Linkpoint API module? Or an older version and a downloaded module? had or had not been answered to your satisfaction, but presumably you needed to know which version I have because you were about to tell me something really important I needed to know to get it working....?

4 Jun 2007, 4:27 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: How to open port 1129?

There shouldn't be any need to fill out the "form" you mentioned, as those fields relate to the Linkpoint Connect services, not the API services which this module uses.

theapeman:

Didn't even know they were different. I do have v1.3.7 and I have no memory of installing the module. Would I even be able to install it or would v1.3.7 not let that happen?I just wanted to ensure that you were in fact using v1.3.7 and the built-in version, and had not downloaded the older version and overwritten the good one built-in to v1.3.7.
And, yes, if you used FTP to upload an older version, you'd overwrite the newer one, which wouldn't be good.

The reason I ask is ... the newer (built-in-to-v1.3.7) module contains features to let you enable debug logging so we can get the module to (hopefully) tell you why it can't talk to Linkpoint ... so that we can confirm that the problem isn't the module, but has something to do with your firewall or CURL ... which is what I suspect...

.
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 Jun 2007, 4:28 AM
#20
theapeman avatar

theapeman

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

Re: How to open port 1129?

Cool, thanks.

So about that form: Am I meant to fill it out or aren't I?