Solved

Referencing Net:SSL from a script in Windows

Posted on 2001-06-03
3
149 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
  • 2
3 Comments
 
LVL 19

Accepted Solution

by:
Kim Ryan earned 200 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
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:
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

756 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