Forum OpenACS Development: I am createing a package for Paypal processing

using the authorize gateway as the model and base source to develop on.

Struggling mightily, but getting through it....

The Paypal API requires the IP address of the client who is paying by Paypal. I've been looking all over trying to find that (I remember it was in 3.2.5), but have come up empty.

Would someone provide me with the code or a link within OACS 5.3 that captures the client's IP address?

Thank You.

Bill Millikin
----

Collapse
Posted by Bill Millikin on
Ah - I found it.

Never mind, and thanx..

set peeraddress [ns_conn peeraddr]

Collapse
Posted by Ben Koot on
Is there a way we could have this as a default option in the toolkit?

Thanks
Ben

Collapse
Posted by Malte Sussdorff on
Ben, what exactly do you mean by "default option". What for?