enigmabunny Posted October 15, 2007 Share Posted October 15, 2007 hey guys, i have recently set up world pay, but when someone makes an order and pays, everything is ok. except the order does not show in admin. Quote Link to comment Share on other sites More sharing options...
enigmabunny Posted October 15, 2007 Author Share Posted October 15, 2007 i just ran a test transaction and when payment has gone through, i get the following message so im presuming its something to do with callback?... Thank You. This was NOT a live transaction - no money has changed hands Thank you, your payment was successful Merchant's Reference: osCsid=fc86e92aeeb6a06148f6be6457f71ecc WorldPay Transaction ID: 273853532 Please contact WorldPay immediately if there has been a problem making your payment. ps: this is the callback address i have used, is this right? http://<wpdisplay item="MC_callback"> Quote Link to comment Share on other sites More sharing options...
web-project Posted October 15, 2007 Share Posted October 15, 2007 what about the rest orders? are they show in admin? Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
enigmabunny Posted October 15, 2007 Author Share Posted October 15, 2007 other orders are showing, i have previously been using paypal, and have only just installed worldpay. Quote Link to comment Share on other sites More sharing options...
enigmabunny Posted October 15, 2007 Author Share Posted October 15, 2007 (edited) hi, ive been playing around with it, and i have changed the callback url to https://www.enigmabunny.co.uk/wpcallback.php and it redirects the page but i get the following error now: Parse error: syntax error, unexpected T_STRING in ....../enigmabunny.co.uk/httpdocs/includes/header.php on line 12 in the file its on about this is the code so im presuming i need to change something in wpcallback.php?: <?php /* $Id: header.php,v 1.1.1.1 2004/03/04 23:40:39 ccwjr Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ You will need to edit this file In the /templates/(template name)/ If it is used by the template you are using> ?> Edited October 15, 2007 by enigmabunny Quote Link to comment Share on other sites More sharing options...
enigmabunny Posted October 15, 2007 Author Share Posted October 15, 2007 hi, have now sorted this, thnx guys. Quote Link to comment Share on other sites More sharing options...
glammabags Posted November 12, 2007 Share Posted November 12, 2007 hi, have now sorted this, thnx guys. Hi ... can you let me know how? I have the same problem ... thanks! Quote Link to comment Share on other sites More sharing options...
SSarah Posted November 12, 2007 Share Posted November 12, 2007 Hello Guys I had the same problem copied all the code from the oscommerce contribution but there was no order showing. Then made this change to the below file and great it works. Its basically the call back has this strange url ----> http://www.xxx.com/shop/wpcallback.php&language=en If you try replacing xxx with your site you will see that it doesn't work. But changing it to: http://www.xxx.com/shop/wpcallback.php Makes it work and you then see the confirmation page. Here is the program code for the php hope this blesses peoples lives. Try testing in Test mode: How to set up Test Mode: 1. Log onto your site, and go to the Admin section 2. Go to the admin section and activate Worldpay payment type, by clicking on the red button 3. Enter your Worldpay ID and the mode (100=test credit card is authorised, 101=test credit card is not authorised and 0=live) Test using mode 100 or 101 first. 4. If you use Pre-Authorisation, and wish to use it select True, followed by E to pre-autorise all transactions. ----------------------- SOLUTION -------------------------------------------- Error - callback fails You need to edit the file: catalog\includes\modules\payment\worldpay.php Change Line 138 FROM: tep_draw_hidden_field('MC_callback', $worldpay_callback[1] . '?language=' . $language_code) . TO: tep_draw_hidden_field('MC_callback', $worldpay_callback[1] ) . Quote Link to comment Share on other sites More sharing options...
rachmyers Posted March 12, 2008 Share Posted March 12, 2008 I *heart* SSarah thank you! 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.