Results 1 to 10 of 22
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 ...
- 07-09-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
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
- 07-09-2009 #2
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
- 07-09-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
- 07-09-2009 #4
What is the output from the following commands?:
Code:ls -l OrderHash.e ls -l OrderHash.e
Linux User #453176
- 07-09-2009 #5Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
- 07-09-2009 #6Just 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.
- 07-09-2009 #7
Sorry, I made a mistake I meant for you to run the commands:
You will need to be in the directory that these files are located in for them to workCode:ls -l OrderHash.e ls -l results.e
Linux User #453176
- 07-09-2009 #8
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
- 07-09-2009 #9Just Joined!
- Join Date
- Jun 2009
- Posts
- 20
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.
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
- 07-09-2009 #10
To move to a directory use the cd command. So if the directory is called website use the command
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 permissionsCode:cd website
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


Reply With Quote

