Jump to content

iantresman

Members
  • Content count

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    Ian Tresman
  1. I'm trying to work out the most appropriate payment module to use with CRE Loaded 6.2 Pro. I want to transfer a customer's order details to my own remote secure server hosting a simple PHP form that I wish to populate, process (manually), and then return control to OScommerce. I guess this is similar to something like noChex, except that my own secure server will handle everything. Regards, Ian Tresman
  2. iantresman

    HSBC secure-epayment module

    HSBC's generateHash function merely generates a 28-character hash. 1. Can anyone confirm that this is in fact an SHA-1 hash converted to base64. 2. In which case, PHP's sha1 function can surely be used instead? 3. How does the hash operate on an array of strings: are the strings just concatonated to produce one long string? Regards, Ian Tresman Derby, UK
  3. iantresman

    HSBC secure-epayment module

    Many many thanks for your help, it goes a long way in explaining what's going on. 1. Once libCcCpiTools.so is installed correctly, will it show with phpinfo()? I can see an item caled mhash, but I'm not sure if this is correct? 2. Does anyone have a PHP snippet that accesses the C library's GenerateHash function? Is it possible? Regards, Ian Tresman Derby, UK
  4. iantresman

    HSBC secure-epayment module

    Although I think I'm an OK Web publisher, and can install scripts, the HSBC ePayments CPI has confounded me, mainly due to the lack of BASIC information... their documentation contains NO mention of the "library files" they supply. I would be most grateful, as I am sure would be your average Web publisher, if someone can provide some basic information, on HSBC ePayments, based on these questions: 1. The HSBC supplied C files, such as libCcCpiTools.so are what exactly? I've manage to find out that they are 'shared objects', an operating-system specific library files, that provide the hash-generation functions. For example, using phpinfo() function, I discovered that my server runs Linux, so I need to use the libary file libCcCpiTools.so. 2. Many Web designers will be unable to install the C library files themselves (do you need 'root' access?). I contacted my Web host who told me that if I sent the library files to them, they would move it into the /usr/lib directory of the server. I recall that Unix filenames are case sensitive, so I FTP'ed the file to my Webspace in binary mode, and my hosts confirmed that it had been done. 3. Once the C library file was placed in the /usr/lib directory of the server, my Web host told me that I need do no more at my end, and that I should be able to see details of the C libary using the phpinfo() function. I found an entry called mhash, and assume that this is it? 4. Presumably, I should now be able to test the C library, by using the HSBC supplied sample code, a Web page called sample.html that accesses a file called TestHash.e But what kind of file is TestHash.e? I've not come across it before. 5. Is there another way to test that C libraries are installed correctly, without making use of a file of the type TestHash.e? For example, can a PHP or CGI files access the library directly? 6. Presumably the file TestHash.e contains a test hash number. In which case, how do I create one containing MY hash number? Perhaps I don't need to if PHP or CGI can access the library file directly? Thanks to all that reply and clarify. Regards, Ian Tresman Derby, UK sdsd
×