
Originally Posted by
barendfaber
I have set recreate sessions to false, placed another order, went through ok but still no redirect. I now also did not get the second WorldPay e-mail with the password failure.
Seems a bit odd. If you have only just activated your worldpay installation it can take a couple of working days for them to test you've integrated correctly before they officially activate you.
But a few things to check:
1. Have you changed any of the default worldpay module settings, i.e. the code. I did find that the module download no longer uses the correct worldpay url. You'll need to amend includes > modules > payment > worldpay.php :
Original:
PHP Code:
if ((int)MODULE_PAYMENT_WORLDPAY_TEST_MODE !== 0)
{
// $this->form_action_url = 'https://select-test.worldpay.com/wcc/purchase';
// $this->form_action_url = 'https://select-test.wp3.rbsworldpay.com/wcc/purchase';
$this->form_action_url = 'https://secure-test.wp3.rbsworldpay.com/wcc/purchase';
}
else
{
// $this->form_action_url = 'https://select.worldpay.com/wcc/purchase';
// $this->form_action_url = 'https://select.wp3.rbsworldpay.com/wcc/purchase';
$this->form_action_url = 'https://secure.wp3.rbsworldpay.com/wcc/purchase';
}
Amended:
PHP Code:
if ((int)MODULE_PAYMENT_WORLDPAY_TEST_MODE !== 0)
{
$this->form_action_url = 'https://secure-test.worldpay.com/wcc/purchase';
}
else
{
$this->form_action_url = 'https://secure.worldpay.com/wcc/purchase';
}
This is because they are no longer RBS WorldPay. But I'm assuming you got that far already.
Also:
2. In your worldpay installation make sure that:
Payment Response URL is set to https://<wpdisplay item="MC_callback"> (or without the SSl if thats what you're using).
Payment Response Enabled?: Checked
Enable Recurring Payment Response: Not Checked
Enable the Shopper Response: Checked
Suspension of Payment Response: Not Checked
&
Payment Response password & MD5 secret for transactions are set correctly and match those in the worldpay module. You'll need the "Use MD5?" set to true in admin area also.
3. Retype the TEST installation settings manually into the PRODUCTION settings in your worldpay installation. Sometimes the passwords don't copy and this causes it to fail. Once this is done, give it 15 mins or so before testing as worldpay is known to cache the settings for a little while before applying any amendments.
4. Admin > Configuration > Sessions:
Force Cookie Use: False
Check SSL Session ID: False
Check User Agent: False
Check IP Address: False
If all of the above doesn't work. Make sure suhosin is turned off (details of this are further back in the thread) and that if you're using php 5.3 session.use_only_cookies is off.
Hopefully something from the above will help you out. I've got the original developer on board working on an updated mod for v1.5.1, so if all of the above fails theres still hope!
Bookmarks