hi all / someone,
have read all other posts on the hsbc payment module stuff and the issue i have isn't really covered.

have set everything up fine, so all info is generated (inc hash) and posted to hsbc site. enter all card details and progresses to confirm order on the hsbc site. then my problem comes to light - with the ...
hsbc_return.php page. i get the following error:

Fatal error: Call to a member function on a non-object in /home/sites/myclientwebsite.com/public_html/hsbc_return.php on line 51

and line 51 is : $hash=$hsbc->getHash($post_2);

the cpiResult is 0 so the transaction is approved by hsbc, i just can't get this to work

the hsbc_return.php is on a secure server, which is on redhat linux.

any ideas greatly appreciated.