Hamish,
I had been viewing your site in IE6. I have now had a look in Firefox and IE7. No problem in Firefox but in IE7 I get the same "insecure items on page" message as you. I then had a look in my own sites - same thing.
This is not a Zencart or WorldPay module problem per se.
How wrong can I be! No change there then :-o
It is actually a WorldPay Module problem. This is my understanding of what the problem is. The Callback page is not actually displayed from the Zencart host server but from the WorldPay server. WorldPay somehow take the content of the Callback page from the merchant's site and display it from within their own site as witnessed by the URL of the callback page
https://select.worldpay.com/wcc/purchase
As currently configured the link to the Merchant's site is non-secure ie http://www.mysite.com/.... This is what is causing the "insecure items on page" message although why it should only be IE7 that is picking this up I have no idea.
The reason for this goes way back to when the OS Commerce WorldPay Module was originally ported across to ZenCart. OSC at that time were not too hot on security - the main reason I chose Zencart rather than OSC. No one (including me) has picked up on this legacy issue since.
The solution is pretty simple. Just two changes to make as follows:
1. Edit includes/modules/payment/worldpay.php
Find:
Code:
$callback_url = zen_href_link(FILENAME_WPCALLBACK, $zenId);
at around line 128. Change this to:
Code:
$callback_url = zen_href_link(FILENAME_WPCALLBACK, $zenId, 'SSL');
Save the edited file to your server.
2. Login to your WorldPay account
Click 'Configuration Options' for your Select Junior installation.
Find the 'Callback URL' field and change the entry from:
Code:
http://<wpdisplay item="MC_callback">
to:
Code:
https://<wpdisplay item="MC_callback">
Click 'Save Changes'
That's it. Pretty obvious really when you think about it!
Let me know if this works for you.
Regards,
Alan
Bookmarks