helohelo Posted November 25, 2004 Share Posted November 25, 2004 Have got round the STS Templates Worldpay issue by switching to normal mode when wpcallback.php callback returns, have posted my solution at:- http://www.oscommerce.com/forums/index.php?sho...ic=55504&st=190 The 1062 - Duplicate entry etc, etc, issue was resolved by setting my browser to accept all cookies from the clients site! Cheers Graham <{POST_SNAPBACK}> Hi Seeker, Graham, I think you sent me your futurepay mod with email? :P I also have a callback problem.... >_< its like https://secure.mysite.com/login.php?osCsid=blabla I also use sts but I fixed this with your: CODE if (strpos($scriptname, "wpcallback") !== false) { $display_normal_output = 1; $display_template_output = 0; } Iam no cookie specialist, but my seetings in admin are as folow: Session Directory /tmp Force Cookie Use False Check SSL Session ID True Check User Agent True Check IP Address True Prevent Spider Sessions True Recreate Session True And my worldpay admin settings: Enable WorldPay ModuleTrue Worldpay Installation ID xxxxx (my client id) Mode 100 Use Pre-Authorisation? False Pre-Auth A What is Pre-Authorisation for. I read in this trhread i have to set this to true? Quote Keesjan Link to comment Share on other sites More sharing options...
[email protected] Posted February 25, 2005 Share Posted February 25, 2005 This sounds a silly answer! But It works for me. I have had the same problem as discribed in this thread. Everything is working except that the orders were not being displayed in the orders database. I set "Set Order Status" in the admin (of oscommerce) for the world pay module to "Processing" and it now works like a dream! The setting for ""Set Order Status"" The setting was "default" and that was not working. Hope this helps All the best Steve :) Quote Link to comment Share on other sites More sharing options...
Guest Posted August 25, 2006 Share Posted August 25, 2006 Hi all, I've tried seeker's suggestion with the if statement, however this didn't seem to work, however, you can control whether or not STS shows the template through the URL: http://www.mydomain.com/wpcallback.php?sts...mp;sts_normal=1 This gets rid of the blank page problem, however all responses now come back as "Request was Cancelled!" - so I'm not sure whtehr this is a fix or not as the system still doesn't update the orders. I also just duplicating the STS application_bottom.php to the above settings and change the include in the wpcallback.php file to the duplicate, but this had the same effect of the order comming up as "Cancelled" (not Completed/Denied). Anyway, anybody got a solution to actually get the callback to not be cancelled? or is this STS fault as well? Cheers, EF Quote Link to comment Share on other sites More sharing options...
rhubarb Posted September 5, 2006 Share Posted September 5, 2006 Just had a similar problem with a shop not using STS and the following code changes around line 118 in the Worldpay module solved it for me: $callback_url = tep_href_link(FILENAME_WPCALLBACK, '', (ENABLE_SSL ? 'SSL' : 'NONSSL'), false); $protocol = (ENABLE_SSL ? 'https://' : 'http://'); $worldpay_callback = explode($protocol, $callback_url); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.