techbull Posted January 14, 2009 Share Posted January 14, 2009 Hi all, I have problem whit th callback whit worldpay junior 1.0 on a v2.2.rc2a, I found no way to have the callback working correctly and not sure what is the cause... All is well setuped on wordpay, when i do and invoice all goes fine but after the payment i got the worldpay "order done" but i'm not returned to my site... The invoice is created fine in osc btw but osc does not return a email to site admin. I know worldpay is callingback , i see it in http logs but look like thats someting on osc itself. Openbasedir are On i'm on php 5.2+ anyone can help i'm lost and have tryed all i can find on the web whitout success ? thank you for any help. Quote Link to comment Share on other sites More sharing options...
owen_wp Posted January 14, 2009 Share Posted January 14, 2009 Hi Joe If the callback is not failing (ie you're not getting any failure e-mails) and you're seeing the default WorldPay result pages it could be that the 'Shopper Response' function is not enabled on the WorldPay installation (this takes the html output from your callback script and uses it instead of the final result page) If you're getting callback failure e-mails these should include the http error that caused it to fail. Quote Link to comment Share on other sites More sharing options...
techbull Posted January 15, 2009 Author Share Posted January 15, 2009 (edited) Hi owen, Its activated and worlpay say that the callback is working but osc is not returning the response page...:( I have asked worldpay and here is ther response... Since i'm not a programmer hard to know for me what the problem is... I see no error in my server log etc.. So i may think thats someting whit the worldpay module ? Is worldpay 4 module work (or any other) on the latest osc may be i can try it ? So i'm still stuck... ----------------------------------- I can confirm that the callback process was completed successfully for both transactions. Once a transaction has been successfully processed via WorldPay we can send an HTTP request (i.e. a communication) back to your shopping cart to advise on the outcome of this transaction. This mechanism is called payment response (formally called callback) and it has to be enabled on your account, from the "Integration Setup" page of your Select Junior Installation, from the Merchant Administration Interface (MAI) at http://www.worldpay.com/admin. Payment response (i.e. callback) is a mechanism that WorldPay will use to send an HTTP query string back to your shopping cart/ website. The HTTP query string contains information pertaining to either a successful or cancelled transaction event. The payment response URL (as specified in the "Integration Setup" of your WorldPay installation) is the location of a script that interpret the HTTP query string from WorldPay, with the aim to performing a further action, for example updating an orders database. So for example the callback URL would be http://www.myserver.com/callback.asp. Since you are using oSCommerce your shopping cart should use the shopper response mechanism to send a page of HTML to WorldPay, which should contain a link to allow the shopper to return to the originating website. Looking at our server logs your shopping cart is not providing us with a response page, and as such I would recommend that you look into why your shopping cart is not sending this response to WorldPay. If I can be of any further help or assistance, on this or any other matters, please do not hesitate to contact me. thank you. Hi Joe If the callback is not failing (ie you're not getting any failure e-mails) and you're seeing the default WorldPay result pages it could be that the 'Shopper Response' function is not enabled on the WorldPay installation (this takes the html output from your callback script and uses it instead of the final result page) If you're getting callback failure e-mails these should include the http error that caused it to fail. Edited January 15, 2009 by techbull Quote Link to comment Share on other sites More sharing options...
techbull Posted January 16, 2009 Author Share Posted January 16, 2009 (edited) no one have any clue ? here the return from worldpay in my log no error whatever so it sould be someting whit osc, the order apear in osc but osc doesnt return the page..; xxx.x.68.24 - - [16/Jan/2009:11:24:52 -0500] "POST /worldpay/order/ext/modules/payment/worldpay/junior_callback.php?msgType=authResult&installation=xxx HTTP/1.0" 200 160 "-" "WJHRO/1.0 (WorldPay Java HTTP Request Object)" ho well i may go another route and flush oscommerce... Look like there no way to have any help anywhere so... thank you anyway... Edited January 16, 2009 by techbull Quote Link to comment Share on other sites More sharing options...
techbull Posted January 16, 2009 Author Share Posted January 16, 2009 UPDATE : I have some time to loose today, so i have installed a fresh Osc rc2a install whit a fresh new DB on it. Then tryed the worldpay module Its still not work... - Fresh OSC install rc2a - Fresh DB - No modification - Able to do the transaction whit worldpay, invoice apear in osc but no callback return page... So its a bug somewhere ! - Using php 5.2.8 & mysql 5... so.. Quote Link to comment Share on other sites More sharing options...
techbull Posted January 17, 2009 Author Share Posted January 17, 2009 UPDATE AGAIN : Just installed on a PHP4 server and its working .... So until a programmer correct the bug Oscommerce and worldpay doe'nt work on PHP 5.2.8 / mysql 5 server ! So warning to anyone that whan to use worldpay on php5 (at less php5.2) ! Thats not work... Quote Link to comment Share on other sites More sharing options...
3opkuu Posted February 19, 2009 Share Posted February 19, 2009 I'm having this exact problem on php 5.2.5/mysql 5.0.51 - no error, but I only see the default WP confirmation page and no email is sent confirming order, although the order is made and can be access in the admin panel. Logs show that WP is doing its bit, OSC isn't :( I don't have access to a server with php4 unfortunately. Quote Link to comment Share on other sites More sharing options...
craigglawson Posted March 2, 2009 Share Posted March 2, 2009 I'm having the same problem but I think I've narrowed it down. Customer places order on OSC site -> calls to Worldpay to complete the transaction. THEN, it should automatically call back to your site, but doesn't and displays a button to continue. If the customer doesn't click the continue button, then the order doesn't fulfil correctly. I think this is all right lol. Quote ... Too close for missiles, I'm switching to guns ... Link to comment Share on other sites More sharing options...
arames Posted May 8, 2009 Share Posted May 8, 2009 Anybody found a solution for MySQL 5.0 and PHP 5.2 ??? Please I keep getting callback 500 Error emails.... :( Quote Link to comment Share on other sites More sharing options...
Guest Posted November 6, 2009 Share Posted November 6, 2009 I am also getting a callback response error, RBS tell me that I could have the wrong payment response url.... Does anyone know the exact payment response url that I should have as they believe this will fix the error? Quote Link to comment Share on other sites More sharing options...
Guest Posted December 11, 2009 Share Posted December 11, 2009 Hello Same issue here...order showing in admin but customer is not directed back to my osc site. Sadly no email from osc to say order has arrived, although the RSB WP one does arrive. Has anyone been able to solve this yet? Cheers Paul Quote Link to comment Share on other sites More sharing options...
peterbuzzin Posted December 12, 2009 Share Posted December 12, 2009 Hello All, I've uploaded an updated RBS Worldpay module. Old deprecated PHP code has been removed and javascript click / return to store button has been replaced with a proper form action. You can read more about/download from here: http://addons.oscommerce.com/info/7151 Cheers, Pete Quote If it still don't work, hit it again! Senior PHP Dev with 18+ years of commercial experience for hire, all requirements considered, see profile for more information. Is your version of osC up to date? You'll find the latest osC version (the community-supported responsive version) here. 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.