Ian-San Posted January 7, 2003 Share Posted January 7, 2003 Then the last thing you can try is to replace the url for WP in the form post with a 'mailto:[email protected]' so that instead of posting to WP you get an email back with the results of the post. This looks like a virus to your system..... Then you can check the variables being sent to WP see if you can spot what is missing or wrong. In particular, check the 'MC_' variables make sense. Quote Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
penge Posted January 7, 2003 Share Posted January 7, 2003 Looking at the emailed form, it seems to be pointing to the correct files. ----------- MC_successURL=http%3A%2F%2Fwww.amberstudio.com%2Fcatalog%2Fcheckout_process.php%3FosCsid%3Db0f479b8b12236ff88a741951fcd8c7b%26 shipping_selected%3Dzones%26shipping_cost%3D0%26shipping_method%3DNo%2Bshipping%2Bavailable%2Bto%2Bthe%2Bselected%2Bcountry& MC_failURL=http%3A%2F%2Fwww.amberstudio.com%2Fcatalog%2Fcheckout_payment.php%3FosCsid%3Db0f479b8b12236ff88a741951fcd8c7b%26shipping_selected%3Dzones&x=100&y=10 ------------ Quote Link to comment Share on other sites More sharing options...
Ian-San Posted January 7, 2003 Share Posted January 7, 2003 Yes - it all looks fine. I remember that WP made some changes recently, try putting this code into the callback url in your WP admin: http://<wpdisplay item="MC_callback"> and turning callback back on?? I dont know why it should work but it is worth a try! Quote Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
penge Posted January 7, 2003 Share Posted January 7, 2003 I don't have a callback option in wp Quote Link to comment Share on other sites More sharing options...
Ian-San Posted January 7, 2003 Share Posted January 7, 2003 I guess that is the problem! The substitution in the C / Y files is not being done. I think the next step is to ask WP why you do not have a Callback option available to you? Quote Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
penge Posted January 8, 2003 Share Posted January 8, 2003 Ian I have done what you suggest and contacted worldpay about callback. I don't understand how it works in terms of how do i enable it when they give it to me ? Will there be more fields available on the wp mod I have now, or do I have to download another wp mod with the added callback feature Quote Link to comment Share on other sites More sharing options...
Ian-San Posted January 8, 2003 Share Posted January 8, 2003 This is how mine looks: Under configuration options in WP, you should see some extra form entry fields: Fill in the Callback url with http://<wpdisplay item="MC_callback"> Do NOT check the box: Callback enabled? I also have this box checked as well: Use callback response? Probably it is not used as the Callback enabled box is not checked but you can never tell with WP. Also, you would think that the Callback url would not be used if callback is not enabled but again, you cannot be certain. My belief is that it passes the variables to the C / Y files as callback is not enabled. Sorry there is some confusion in these posts but that seems to be the nature of using WP - nothing is very clear. I dont know if this will solve your problem but it is one more step done ... Quote Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
penge Posted January 9, 2003 Share Posted January 9, 2003 Hi, It finally clicked where the callback feature is, tried it and still it's not working. I tried it with 'Use callback response?' only and no joy, but it did not log a callback failure or failure count, so I'm not sure what it does. I tried it with 'Callback enabled?' as well, (what the hell!) still nothing but noticed back in WP admin that callback had been suspended and there was a callback failure count for every time I tried it. WP responded back by attaching 'worldpayv3a.zip' to an email and asking me to try it! So I did, no joy. Getting close... I can feel it! Any ideas, Penge Quote Link to comment Share on other sites More sharing options...
penge Posted January 12, 2003 Share Posted January 12, 2003 Looking at line 71 and 72 of includes/modules/worldpay.php tep_draw_hidden_field('MC_successURL', tep_href_link(FILENAME_CHECKOUT_PROCESS, $worldpay_success, 'SSL')) . tep_draw_hidden_field('MC_failURL', tep_href_link(FILENAME_CHECKOUT_PAYMENT, $worldpay_fail, 'SSL')); do I need SSL configured on my server to get callback working? Quote Link to comment Share on other sites More sharing options...
Ian-San Posted January 12, 2003 Share Posted January 12, 2003 do I need SSL configured on my server to get callback working? No, I dont and have no problem. Quote Ian-san Flawlessnet Link to comment Share on other sites More sharing options...
penge Posted January 14, 2003 Share Posted January 14, 2003 This is what WP says -------- I have checked your cart, the problem is being caused by the fact that your website (i.e OSCOMMERCE) is not passing through to WorldPay an MC_callback variable with a value of the callback URL. It is however passing through an "MC_successURL" and "MC_failURL" variable. I suspect that if you set the callback URL within the Customer Management System to http://<WPDISPLAY ITEM=MC_successURL> the callback would work. However, this would open up the problem, that is the shopper pressed the cancel button on the payment page, this URL would be called (rather than the "MC_failURL") and mark the order as paid/completed within the shopping cart, even though this is not the case. -------- I have tried the new callback url - still no luck Don't know what to do now Penge Quote Link to comment Share on other sites More sharing options...
Ian-San Posted January 14, 2003 Share Posted January 14, 2003 If you want, you can PM me your WP access code and I will try it with my store set-up. If it works for me, then the problem is your store, if not then it will be WP? Quote Ian-san Flawlessnet 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.