Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
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 ...
  1. #1
    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

  2. #2
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    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

  3. #3
    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.

  4. #4
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    What is the output from the following commands?:

    Code:
    ls -l OrderHash.e
    ls -l OrderHash.e
    Linux User #453176

  5. #5
    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

  6. #6
    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.

  7. #7
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    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

  8. #8
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    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

  9. #9
    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

  10. #10
    Linux Engineer Kieren's Avatar
    Join Date
    Aug 2007
    Location
    England
    Posts
    845
    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

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •