Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Referencing Net:SSL from a script in Windows

Posted on 2001-06-03
3
Medium Priority
?
154 Views
Last Modified: 2011-09-20
I got Net:SSL and OpenSSL installed on my Windows server.  Now I can't get the script to work.  The guy who wrote the script seems to think that it is a problem with the path in the script that references the SSL.  What the script is supposed to do is send encrypt and send credit card information that customers enter on our site to another companies server where it will be processed with their merchant account. SSL is locatedin C:/perl/lib/Net. Here is the part of the script that we are working with:

#########################################################################################
#           UNCOMMENT next 3 lines and INSERT the path to Net::SSL on your
#          server to use credit card processing

          use lib qw(pathto Net::SSL i.e. c:\perl\lib);
          use Net::SSL;
          &sslSocket($qstring);


#          THEN COMMENT OUT THE NEXT LINE

#print "Edit lines 13, 14 and 15 in eNomInterface.pm in your Lib directory for SSL.<br>";

#########################################################################################

This is what the developer initially suggested we try.  When this didn't work, he recommended that we change this line:

use lib qw(pathto Net::SSL i.e. c:\perl\lib);

to the following:

use lib qw(perl\lib);

That still didn't work.  If anyone has any idea how to fix this that would be SO GREAT!  I have been trying to get this running forever and am not having any luck.  Let me know if you need more information and I will be happy to help with anything that I can.  Thanks.

Beth

0
Comment
Question by:xenolith00
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 800 total points
ID: 6151176
First you need to check where Perl is installed. Form DOS prompt type perl -e "print @INC" . This should come up wiht somewthing like C:/perl/lib,C:/perl/site/lib. This is the search path that PErl uses to find modules. Then check that your module is in this area under a Net directory.

Some web servers may install perl modules in a completley different place, such as /home/yourdirectory/cgi-bin on Unix. This is your personal collection of modules, not available for others to edit.

It's really a matter of finding where the modules are. If you can write a dummy perl script to just include the use Net::SSL statement, and run it form the command line, this will prove if your paths are setup correctly.
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 6158101
Has this helped?
0
 

Author Comment

by:xenolith00
ID: 6221020
We ended up going with an ASP version of the same page, so we didn't need to go through with this afterall.  Thanks so much for the effort to help me and sorry that it took me so long to get back to you.

Beth
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In th…
While opting for any web-to-print solution, you need to discuss with your team and some of your end users and know their opinions about your decisions. In this article we list down some questions you need to ask yourself.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question