dgoodale Posted April 20, 2007 Share Posted April 20, 2007 I have worked with a few osCommerce installations using the WorldPay module and it never goes quite as smoothly as I'd like. This post is for anyone having problems with the callback - specifically if their transactions after the callback display a "Your transaction has been Cancelled!" message from osCommerce, even though WorldPay is reporting a Successful Transaction. The culprit may be register globals. I believe that the WorldPay 4.0 / 1.9 payment module (and possibly any previous modules) do not work if register globals are turned off. I believe there are other posts out there with snippets of code to get around this problem. However, I see many posts asking for help with this problem and few people mention the register globals issue, so I hope this is of help to someone! (I also must say, I really can't guarantee that register globals is the problem or not -- but on my installation I've tried EVERYTHING else and just can't get it to work. So i'm as close as I can be right now to certain that register globals is the problem.) David Goodale Merchant-Accounts.ca (888) 414-7111 Merchant-Accounts.ca is less expensive, more secure, and most importantly -- provides the help and support you need. It is for that reason that Merchant-Accounts.ca is Canada's leading provider of merchant accounts and credit card processing. Quote Link to comment Share on other sites More sharing options...
philmatthews Posted May 17, 2007 Share Posted May 17, 2007 Thanks dgoodale, you've help me fix my problem! I transferred two oscommerce stores that both use WorldPay to a new server. I had quite a few problems and managed to fix all of them until I made a test sale. WorldPay sent me back to the site saying "your payment has been cancelled" but it didn't go to the normal "thankyou" page on oscommerce. WorldPay notified me of the sale but the oscommerce admin panel did not register it. After spending all day searching for the solution your post helped me fix it! I added a php.ini file to my catalog folder that just had "register_globals = on" which seemed to do the trick for me. I know all setups are different so this might not help everyone but hopefully it will help some people! Thanks again! :-) Phil 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.