Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Worldpay Gateway

Worldpay Gateway 11 years 3 months ago #21087

  • BodgeIT
  • BodgeIT's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 88
  • Thank you received: 0
Hi All,
If you're using the worldpay gateway in J2.5 DTreg, it's busted...

Try copying the worldpay.php from the J3 version as well as the success.php from the J3 version.

fulls paths:
components/com_dtregister/lib/payment/worldpay.php
components/com_dtregister/success.php

I also had to change line 248 & 272 of the J3 worldpay.php:
<meta http-equiv="refresh" content="0; url="<?php echo "{$mosConfig_live_site}components/com_dtregister/success.php?return=$session_id&Itemid=$Itemid&task=restore" ?>">
to
<meta http-equiv="refresh" content="0; url=<?php echo "{$mosConfig_live_site}components/com_dtregister/success.php?return=$session_id&Itemid=$Itemid&task=restore" ?>">

Now my purchase process works but it doesn't add any records into the database....

Oh well, I guess you can't expect too much!

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.138 seconds