Guest Posted June 2, 2004 Posted June 2, 2004 Hi, I download a module for worldpay v 4.0 and I want the callback option. I setup worldpay with the good url for my website, enable the callback and setup the url callback like that: http://<wpdisplay item="MC_callback">. The problem it's when I buy a product worldpay doesn't redirect on my website. If somebedy can help me? thanks Quote
emanresu Posted June 2, 2004 Posted June 2, 2004 Hello Here are the Worlday standard settings: Do you want to accept WorldPay payments? [ True] Worldpay Installation ID [xxxxxx] Mode [0 = Live] Use Pre-Authorisation? [True] Pre-Auth [E] Sort order of display.[0] Set Order Status [Default] If these are set and you are still getting Callback errors check your installation again or call them for advice. Quote Citizen of US Minor Outlying Islands
Guest Posted June 3, 2004 Posted June 3, 2004 Hi, Worldpay work because I have all the process, the problem it's when the process is finish worldpay don't redirect on my website and don't display wpcallback.php. thanks Quote
Guest Posted June 7, 2004 Posted June 7, 2004 I have the same problem, and no order is recorded. Did anyone get a reply to this yet? Quote
bzhgirl Posted July 5, 2004 Posted July 5, 2004 (edited) Please tell me where can i find a module to integrate worldpay to os commerce, because in the contributions it's not possible to download it anymore, so if someone could srnd it to me that's would be great. thanxs by advance Elsa my email : [email protected] Edited July 5, 2004 by bzhgirl Quote
cyberphool Posted July 5, 2004 Posted July 5, 2004 I'm trying to find a solution to a problem with the WorldPay module. I have found a few open threads relating to it, but i'm only going to post here for now, until I can confirm that this solution works for anyone else. My wp module was installed according to the guide and pretty much how others have installed it. The problem is after successfully completing a transaction, the browser stops at the end of the WorldPay transaction and does not return to the shopping site. I get confirmation emails from WorldPay, but nothing from osCommerce. Also I get no copy of the order going through to my shop's database. I tried a few solutions listed, but with no results I returned everything back to how I started. My single successful solution so far has been to enter my site URL in the WorldPay Administration area instead of the callback URL. Instead of using the callback suggested (http://<wpdisplay item="MC_callback">) I enter the full path on my site of the wpcallback.php file. I entered something like this: http://www.myshop.com/catalog/wpcallback.php My site is now working through initial tests with WorldPay. The system completes the order, returns me to my shop, adds the order to my shop's database and sends off emails to confirm. Unfortunately I don't understand enough about the callback system of WorldPay, or the osCommerce WorldPay module to explain why it's working, but for now it seems to be okay. I'd love to hear any opinions as to how it is working, and maybe we can discover what might be going wrong with the other callback address?? cheers, David Quote
Guest Posted July 25, 2004 Posted July 25, 2004 Hi David, I had the same problem you faced. It is fine at the moment when 1 cart is in operation but I need to get it to work on multiple cart. Pls post when you discover a solution. Thank you so very much..... Ang Quote
mikedfunk Posted July 26, 2004 Posted July 26, 2004 I had this problem but was able to resolve it. 1. make sure all the settings are as they are suggested in the readme file that comes with the worldpay module 2. make sure the "merchant's shop URL" field is completed like this: http://www.yoursite.com/catalog with no slash at the end and the http:// in front. I had reinstalled OSCommerce and reset my Worldpay settings and still ran into this issue. When I changed the "merchant's shop URL" to be the full URL like above, it finally worked. Good luck! Quote
Matthew_McNally Posted July 27, 2004 Posted July 27, 2004 sure I read on here somewhere that you are not returned to the store if it is a test transaction :unsure: Quote
cyberphool Posted July 28, 2004 Posted July 28, 2004 Hi Matthew, During test transactions the shop will appear to work as normal. By setting the "mode" to a test mode of 100 or 101, you are setting how worldpay will process your request. As 100 (Test Mode Accept) your payment will always be accepted by world pay. As 101 (Test Mode Decline) your payment will always be denied by worldpay. The shop should work correctly to display both success and failure. That is what both modes are used for, to see what would happen to a customer if their transaction succeeded or failed. - david Quote
Matthew_McNally Posted July 28, 2004 Posted July 28, 2004 During test transactions the shop will appear to work as normal. bugger then I haven't got this set up correctly yet :( Quote
Guest Posted August 5, 2004 Posted August 5, 2004 Hi I'm getting exactly same problem with the Callback, no return, no order update and finishing payment at the WP confirmation page. At present useing, Worldpay v4.0 Version 1.7 with sts_version 1.5 on oscommerce-2.2ms2. Have set the WP admin up as specified:- Merchant Url: https://secure.clientsite.co.uk/catalog Callback URL: https://<wpdisplay item="MC_callback"> Callback Enabled - checked Use callback response - checked Callback suspended - unchecked Callback Failure Alert email address - enabled (no alerts received despite several failed attempts!) The osComerce payment module displays the WP Secure Credit Card Payment option and is enabled with:- Worldpay Installation ID: Client ID Entered Mode: 100 Use Pre-Authorisation: True (set to A) - as advised by WP support! I tried entering the Callback URL as:- https://secure.clientsite.co.uk/catalog/wpcallback.php and ended up with an empty clients catalog page, navigation bar displaying Home >> Catalog >> Worldpay, some boxes and no main content! Thats as close as I've got so far. Can anyone confirm if this is a STS Template problem? In the mean time I'll try running some debug test on sts system and advise on the outcome. This is a great e-commerce catalog system I have two client stores set up with virtually no problems ones live the seconds waiting this WP instalation. Cheers Graham Quote
cyberphool Posted August 5, 2004 Posted August 5, 2004 Hi Graham, I'm not sure if I can help. The only thing that stands out to me is the HTTPS setting. Are you using HTTPS (ie SSL secure connection) for your site? Because your callback URL is set to "https://" This might be an issue? - David Quote
Guest Posted August 6, 2004 Posted August 6, 2004 Hi David thanks for replying.. yes the whole site is operating on a SSL server do you know what the issues are? WP support has asked for the MC_callback parameter in the code! I guess they mean the form-feeds worldpay.php generate i.e. <input type="hidden" name="MC_callback" value="?language=en"> <input type="hidden" name="MC_oscsid"> do you have any ideas why the MC_oscsid value doesn?t show up? Cheers Graham Quote
Guest Posted August 6, 2004 Posted August 6, 2004 Hi Dave Thanks for the tip I had a look at the SSL issue in - includes\modules\payments\worldpay.php and found // Ian-san: Create callback and language links here 6/4/2003: $callback_url = tep_href_link(FILENAME_WPCALLBACK); //$callback_url = tep_href_link(FILENAME_WPCALLBACK, '', (ENABLE_SSL ? 'SSL' : 'NONSSL'), true); $worldpay_callback = explode('http://', $callback_url); so I enabled the SSL line disabled the original $callback_url line and changed the http:// to https:// on the $worldpay_callback line illustrated below.. // Ian-san: Create callback and language links here 6/4/2003: //$callback_url = tep_href_link(FILENAME_WPCALLBACK); $callback_url = tep_href_link(FILENAME_WPCALLBACK, '', (ENABLE_SSL ? 'SSL' : 'NONSSL'), true); $worldpay_callback = explode('https://', $callback_url); Now i have a form-feed like:- <input type="hidden" name="MC_callback" value="secure.naturalife-wholefoods.co.uk/catalog/wpcallback.php?osCsid=db8a6e94991c573be5533ce608ad93ba?language=en"> (still no joy with <input type="hidden" name="MC_oscsid"> that is being generated by tep_draw_hidden_field('MC_oscsid', $oscSid); in worldpay.php - anyone have any ideas!) which enabled the WP Callback to redirect back to wpcallback.php during a test order. Unfortunately this hung, produced and empty content page and added.. 1062 - Duplicate entry 'db8a6e94991c573be5533ce608ad93ba' for key 1<br><br>insert into sessions values ('db8a6e94991c573be5533ce608ad93ba?language=en' etc, etc, etc, to the bottom of the page! Not wishing to give up I set the STS display to normal output and the whole thing worked all the way through (still got the 1062 - Duplicate entry stuff)! So the remaining issue resides with the STS Templates mod. Does anyone have any clues how to get wpcallback.php and STS working together? In the meantime I'll work through wpcallback.php and sts_display_output.php to see if they can be made compatible. Cheers Graham Quote
Anna Posted August 6, 2004 Posted August 6, 2004 Now i have a form-feed like:- CODE <input type="hidden" name="MC_callback" value="secure.naturalife-wholefoods.co.uk/catalog/wpcallback.php?osCsid=db8a6e94991c573be5533ce608ad93ba?language=en"> You have a ? instead of a & before language: osCsid=db8a6e94991c573be5533ce608ad93ba?language=en Don't know if that's the solution, but it's certainly a problem! I think it causes the duplicate session error. hth Anna Quote
Guest Posted August 6, 2004 Posted August 6, 2004 Thanks Anna Tried swapping the ? for & and it did get rid of the duplicate session error in sts and hung on an empty page. But out of sts it stopped the callback and stayed on the WP site. Strange that it gave two different results in and out of sts! I'll see if I can narrow it down. Cheers Graham Quote
Guest Posted August 6, 2004 Posted August 6, 2004 Hi Again ran some more test and replacing ? with & stops the callback both in and out of sts. think the duplicate session error is cookie based could be to do with:- define('HTTP_COOKIE_DOMAIN', 'secure.clients-site.co.uk'); define('HTTPS_COOKIE_DOMAIN', 'secure.clients-site.co.uk'); in config.php, i'll try disabling the http def. Cheers Graham Quote
Anna Posted August 6, 2004 Posted August 6, 2004 Sorry I don't know anything about sts but this might help: http://www.oscommerce.com/forums/index.php?sho...ic=55504&st=180 Good luck! Quote
Guest Posted August 8, 2004 Posted August 8, 2004 Thanks Anna According to the thread you were definitely on the right track with the ? - & stuff perhaps it?s the way I entered the change so I?ll have another try. STS does seem to be a big hurdle to get over with worldpay. Thanks again for help Quote
Guest Posted August 8, 2004 Posted August 8, 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 Quote
Matthew_McNally Posted August 9, 2004 Posted August 9, 2004 During test transactions the shop will appear to work as normal. bugger then I haven't got this set up correctly yet :( I hadn't set it up properly. I had not defined the callback in filenames.php :D this 100% fixed my problems, and worldpay is working like a dream now </crosses fingers> Quote
robbo007 Posted August 26, 2004 Posted August 26, 2004 Hiya just wondering if you get this problem when you proccess a card. One slight problem is that in my WorldPay Admin when I view the transactions Cart Id is the osCommerce session id(osCsid=cb8a85a4e970b9ef48e925aa3ca971b8 )as opposed to the order id, do you get this also? Thanks, Rob. Quote
Guest Posted August 26, 2004 Posted August 26, 2004 Hi Rob Yes we have the same problem but my client sems to manage to verify the wordpay confirmtion and the osc order! I'm sure I read somthing about this issue in the http://www.oscommerce.com/forums/index.php?sho...ic=55504&st=190 thread. Try working back through the posts, in the mean time if I come up with anything I'll let you know and visa versa. Cheers Graham Quote
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.
Note: Your post will require moderator approval before it will be visible.