All you need are:
- Your StorefrontId – this is your 8 digit ID, this will need to be prefixed with your 2-letter country code and have the 3-letter currency code appended to the end. E.G. UK12345678GBP
- Your encryption key this is a 32 character BASE64 encoded string unique to you.
- MHASH & MCRYPT available to PHP.
- SSL up and running on your server, HSBC will reject any requests that don’t come from an SSL connection.
- The class below to generate the hash (HSBC::GenerateHash()) from an array.
