Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

worldpay orders not showing in admin...


enigmabunny

Recommended Posts

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">

Link to comment
Share on other sites

what about the rest orders? are they show in admin?

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

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 by enigmabunny
Link to comment
Share on other sites

  • 4 weeks later...

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] ) .

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...