Originally posted by CrystalClear [snipped quote]:

Quote Originally Posted by CrystalClear View Post
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
I have looked at this myself and cannot for the life of me deduce where $GLOBALS['hsbc'] should/would be set:

Code:
   $hsbc=$GLOBALS['hsbc'];
   $hash=$hsbc->getHash($post_2);
So - a genuine offer of $100 for the first working solution.