Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > CPI Payment System, Integration on Linux. Help!

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-09-2009   #1 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 20
Angry CPI Payment System, Integration on Linux. Help!

I have been trying to integrate the HSBC CPI Payment system into a website on Linux for some time and I am completely stuck.

I have a feeling there is a very straightforward reason for the current stumbling block, although I think there will be a few more to get over.

I hope someone has had experience with this, or a similar system, in the past. However I have attacher the specification instructions, if anyone can shed some light on this it would be much appreciated.

As far as I can see I've added all the correct files, changed the permissions as requested and added an SSL server (it's a shared one on fasthosts but I'm hoping this should be OK). However when I try and run a test transaction it simply gives me a 405 programming error. It seems to be trying to access the 'OrderHash.e" file unsuccessfully. Can anyone tell me what ".e" files actually are? Most of the ones I need to use are .e files and I've never came across them before.

I couldn't upload the instructions that I have been given but I managed to find then online at serica-energy.com/news/wp-content/uploads/2007/04/cpi-specification.pdf

Many thanks,

Laurie
lauriedunsire is offline  


Reply With Quote
Old 07-09-2009   #2 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 728
I know you can't post links but you should be able to post the url if you remove the Linux forums - linux articles forums downloads. from the address. So instead of posting Google just post google.com

Can you post the instructions you're using with that method?
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Old 07-09-2009   #3 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 20
Quote:
Originally Posted by Kieren View Post
I know you can't post links but you should be able to post the url if you remove the from the address. So instead of posting Google[/url] just post google.com

Can you post the instructions you're using with that method?
Ah rite OK, well I have managed to find the instructions I'm working from at serica-energy.com/news/wp-content/uploads/2007/04/cpi-specification.pdf

Thanks.
lauriedunsire is offline   Reply With Quote
Old 07-09-2009   #4 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 728
What is the output from the following commands?:

Code:
ls -l OrderHash.e
ls -l OrderHash.e
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Old 07-09-2009   #5 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 20
Quote:
Originally Posted by Kieren View Post
What is the output from the following commands?:

Code:
ls -l OrderHash.e
ls -l OrderHash.e
When I enter ls -l OrderHash.e, it doesn't seem to find it:

Code:
ls: OrderHash.e: No such file or directory
lauriedunsire is offline   Reply With Quote
Old 07-09-2009   #6 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 20
Dunno whether it is any use or not, but when I 'find' the file the way you advised previously and it does locate it OK - in the same folder as sample.html. So it is there, but I guess that should be the case anyway.
lauriedunsire is offline   Reply With Quote
Old 07-09-2009   #7 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 728
Sorry, I made a mistake I meant for you to run the commands:

Code:
ls -l OrderHash.e
ls -l results.e
You will need to be in the directory that these files are located in for them to work
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Old 07-09-2009   #8 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 728
Also you need to place libCcCpiTools.so in a directory listed in LD_LIBRARY_PATH. To find a suitable path that is listed in there start a new session and post the output of the following:

Code:
echo $LD_LIBRARY_PATH
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Old 07-09-2009   #9 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 20
Quote:
Originally Posted by Kieren View Post
Sorry, I made a mistake I meant for you to run the commands:

Code:
ls -l OrderHash.e
ls -l results.e
You will need to be in the directory that these files are located in for them to work
OK next silly question, how do I actually OPEN the directory? I can look in it with dir, figured that much out, but I can't seem to just open it so I can entre the commands.


Quote:
Originally Posted by Kieren View Post
Also you need to place libCcCpiTools.so in a directory listed in LD_LIBRARY_PATH. To find a suitable path that is listed in there start a new session and post the output of the following:

Code:
echo $LD_LIBRARY_PATH
Bit confused by that, I've placed the libCcCoiTools.so file in the folder above the one the OrderHash.e etc files are in. When I type the echo $LD_LIBRARY_PATH command it just comes up with a blank like
lauriedunsire is offline   Reply With Quote
Old 07-09-2009   #10 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 728
To move to a directory use the cd command. So if the directory is called website use the command

Code:
cd website
ls is a command that will list the contents of a directory and using the -l flag orders the contents into a list and gives us some more information such as the file permissions

The two files you are installing will look at the environment variable $LD_LIBRARY_PATH to find the file libCcCpiTools.so. However, it would seem that this environment variable is empty so you will need to talk to your provider to get that added – unless you have root access to the account?
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:22 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2