Jump to content



Latest News: (loading..)

RBS World Pay Junior callback


  • Please log in to reply
53 replies to this topic

#41   filmcell

filmcell
  • Members
  • 103 posts
  • Real Name:bob smith

Posted 13 June 2010 - 06:38 PM

This seems to work   :rolleyes:
Simple but works.

<html>
<head>
<title>completed transaction</title>
</head>
<body>
<META http-equiv="refresh"
content="1;URL=http://www.YOURSITE.co.uk/checkout_process.php?osCsid=<?php
echo $_POST['M_sid']; ?>&hash=<?php echo $_POST['hash']; ?>"> </p> </body> </html>

#42   ccakes74

ccakes74
  • Members
  • 6 posts
  • Real Name:Cath

Posted 21 June 2010 - 07:05 PM

View Postfilmcell, on 13 June 2010 - 06:38 PM, said:

This seems to work   :rolleyes:
Simple but works.

<html>
<head>
<title>completed transaction</title>
</head>
<body>
<META http-equiv="refresh"
content="1;URL=http://www.YOURSITE.co.uk/checkout_process.php?osCsid=<?php
echo $_POST['M_sid']; ?>&hash=<?php echo $_POST['hash']; ?>"> </p> </body> </html>

Hi Can you tell me where you are putting this to make it work. I cannot for the life of me make the callback work!

Edited by ccakes74, 21 June 2010 - 07:06 PM.


#43   filmcell

filmcell
  • Members
  • 103 posts
  • Real Name:bob smith

Posted 21 June 2010 - 08:49 PM

View Postccakes74, on 21 June 2010 - 07:05 PM, said:

Hi Can you tell me where you are putting this to make it work. I cannot for the life of me make the callback work!


hi

/ext/modules/payment/worldpay   look for file   junior_callback.php   . Edit it with notepad .  Delete all the old code and add the code i said worked .  

Backup your junior_callback.php first Just incase.

Still works for me  :thumbsup:

#44   filmcell

filmcell
  • Members
  • 103 posts
  • Real Name:bob smith

Posted 16 July 2010 - 03:10 PM

Anyone else tried my fix. I posted this a few weeks ago , But no one has said if it has fixed there problem.
would be nice to know if it has helped you , Or if you found a better solution.
Its still seems good for me

#45   colhemm

colhemm
  • Members
  • 6 posts
  • Real Name:Colin

Posted 21 August 2010 - 01:07 PM

View Postfilmcell, on 16 July 2010 - 03:10 PM, said:

Anyone else tried my fix. I posted this a few weeks ago , But no one has said if it has fixed there problem.
would be nice to know if it has helped you , Or if you found a better solution.
Its still seems good for me

Hi filmcell, i never got to try your idea but i did get junior Worldpay to work ok in the end, so if anyone else needs help on this I'd be happy to take you through it step by step, and tell you exactly what i did. Hopefully it will work for everyone else to. Just ask here and I'll be happy to help.

#46   filmcell

filmcell
  • Members
  • 103 posts
  • Real Name:bob smith

Posted 23 August 2010 - 07:42 PM

Hi Colin ,

that would be great , my method works but you have to keep checking worldpay to make sure the payment went through.

#47   Jaya

Jaya
  • Members
  • 8 posts
  • Real Name:Jaya

Posted 25 August 2010 - 04:17 AM

Hi Filmcell,

I used your fix and it's done the trick for now - many thanks. Only minor (at this stage) issues are that the order amount in my admin appears without VAT for shipping though the customer is getting charged the correct amount. Also it seems to have skipped my UHTML Email module and takes the original email that oscommerce came with but I can live with that. I'm too tired to think about why, just glad I can switch Worldpay on again.

Would certainly be keen on finding out full solution.

Cheers,

Jaya

#48   Jaya

Jaya
  • Members
  • 8 posts
  • Real Name:Jaya

Posted 25 August 2010 - 04:44 AM

Ok, further testing shows that a cancellation in the worldpay payment process will look like a successful payment to me but obviously the customer hasn't paid anything - is this why you mentioned you needed to check in the worldpay admin to confirm payment?

Jaya

#49   filmcell

filmcell
  • Members
  • 103 posts
  • Real Name:bob smith

Posted 28 August 2010 - 10:21 AM

Hi   Jaya,

Yup thats the downside . :(

#50   colhemm

colhemm
  • Members
  • 6 posts
  • Real Name:Colin

Posted 28 August 2010 - 12:22 PM

Hi Paul, I'm thinking if we can replicate my setup its got to work for you, or is there just one part that you need help with.
my site www-nikolasmichaeljewellers-co-uk

Col

#51   colhemm

colhemm
  • Members
  • 6 posts
  • Real Name:Colin

Posted 31 August 2010 - 08:22 PM

this is how you setup RBS Worldpay
Payment Response URL                                  http://<WPDISPLAY ITEM=MC_callback>
Payment Response enabled?                             tick
Enable Recurring Payment Response                     tick
Enable the Shopper Response                           tick
Payment Response failure email address                yes your email here
Attach HTTP(s) Payment Message to the failure email?  tick
Payment Response password                             yes
MD5 secret for transactions                           yes

#52   whitemoon

whitemoon
  • Members
  • 1 posts
  • Real Name:ken

Posted 13 September 2010 - 11:00 AM

View Postcolhemm, on 31 August 2010 - 08:22 PM, said:

this is how you setup RBS Worldpay
Payment Response URL                                  http://<WPDISPLAY ITEM=MC_callback>
Payment Response enabled?                             tick
Enable Recurring Payment Response                     tick
Enable the Shopper Response                           tick
Payment Response failure email address                yes your email here
Attach HTTP(s) Payment Message to the failure email?  tick
Payment Response password                             yes
MD5 secret for transactions                           yes

I'm not able to get it to work perfectly. the payment does return to site, but the order is not linked to the buyer, buyer's order history is empty and the order is created. I am thinking to link the order directly in the database.

#53   barnettgs

barnettgs
  • Members
  • 26 posts
  • Real Name:gary

Posted 02 March 2011 - 05:07 AM

Thanks.  I tried Worldpay module and it worked fine but has some funny lines after submitting payment.  It has now disappeared after I apply this fix.

Gary

View Postbarry_mcc, on 21 April 2010 - 03:27 PM, said:

Extra white space in the latest Junior Callback file was causing me headaches that went away when I removed them...
The latest META update download adds in extra space that can safely be removed...

So the beginning of the file where the comments are (Starting line 18):
=================================================================
  Copyright © 2008 osCommerce

  Released under the GNU General Public License
*/

?>

<?php

  if (isset($_POST['M_sid']) && !empty($_POST['M_sid'])) {
=================================================================

Can be changed to :
=================================================================
  Copyright © 2008 osCommerce

  Released under the GNU General Public License

*/

  if (isset($_POST['M_sid']) && !empty($_POST['M_sid'])) {
=================================================================

the closing and re-opening of the php comments basically ads one line of whitespace, which Worldpay doesn't seem to like.

Hope that helps somebody!


#54   belmatt67

belmatt67
  • Members
  • 1 posts
  • Real Name:madjid

Posted 13 May 2011 - 02:05 PM

Hi,
I install OrderCheck_v2.1 on osCommerce Online Merchant v2.2 RC2a, and have the following message
when i confirm "checkout_payment.php" :

--
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /homez.420/daydry/www/checkout_confirmation.php:2) in /homez.420/daydry/www/includes/functions/sessions.php on line 102

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homez.420/daydry/www/checkout_confirmation.php:2) in /homez.420/daydry/www/includes/functions/sessions.php on line 102
--

Any idea

Thanks a lot for your help
Matt