Hi,
I have almost finished my site with the exception of one remaining problem with the HSBC payment module (the modified module by foamcow is the one I am using).
Basically it all works great until the final stage when customers are redirected BACK from HSBC's secure server to my site's hsbc_return.php file. The URL for this return should be (according to my host):
https://atlantis.terrassl.net/realdn...sbc_return.php
because the hsbc_return.php file is located in the root of the site (which is also the root of the zen cart store).
However, upon completion of payment with HSBC, users get bounced back to this URL and the page shown is completely blank. Just a white screen, with no page source viewable at all. No error messages at all. THe URL appears in the browser window correctly, and so it is NOT an issue of the file not being found (if I move the file then i get a file not found error).
*** NOTE: if you click the above link you will see what I mean... you just get a blank white page with a secured notification in bottom right of browser to atlantis.terrassl.net ***
Now for the really weird bit. If, after completing a test transaction with HSBC and getting taken back to this https://atlantis.terrassl.net/realdn...sbc_return.php link on my site, i then MANUALLY type in the NON-SSL location for the hsbc_return.php file into the browser URL bar (http://www.realdnahair.co.uk/hsbc_return.php) then the Checkout Success page immediately loads, an order is generated in admin, the customer gets email confirmation and everything is perfect...
Unfortunately i can't tell HSBC to redirect customers back to this non-SSL link, because HSBC's software will fail if it doesn't begin https://
Can anyone think why hsbc_return.php comes back blank if browsing to it via the shared SSL certificate, but fine otherwise?
My site is: http://www.realdnahair.co.uk
I know that OSCommerce's HSBC module that was originally put here for Zen Cart works with shared SSL certificates, both HSBC support AND my hosting provider TerraNetwork insist they have customers using it with shared SSL successfully. So i don't need a dedicated SSL that would allow me to use my true domain URL in the redirect back from HSBC.
Is it a permissions issue that's different for files being viewed via the SSL certificate? It seems basically that when looking at hsbc_return.php via SSL, the php code in hsbc_return.php is unable to locate the necessary includes files from zen cart to display the page, so it's just a blank white page. i've tried hard coding the URLs for the includes into the hsbc_return.php file (both hard coding SSL URLs to the files, and the regular non SSL URLs) and this makes no difference.
the two includes files hsbc_return.php uses are:
includes/application_top.php
includes/class/payment.php
Any help much much MUCH appreciated!!
Kyle



