Results 1 to 10 of 730

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi all,

    I hope someone can help me. I am working on www.wwdshop.com/index.php, using version 1.3.9 h. I have installed the files for the WorldPay module, and have set the details in my WorldPay admin as well as the site. In test, every thing works perfectly, orders complete and I get returned to my site. However, the moment I set it to Live, the order completes and Zen Cart gets the order confirmation, but I do not get redirected to my site. I have created my resultC.html and resultY.html files as required. I have used the same files for another site, www.dragonslivestore.com, and everythign completes as it should. I have spoken to WorldPay tech support, they said there is something missing from my Zen Cart, which really confuses me as I added all the required files. Are there any files that I must make sure is in my template apart from the WorldPay files? Or did someone have the same issue as me and can help me to find a solution?

  2. #2
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by barendfaber View Post
    Hi all,

    I hope someone can help me. I am working on www.wwdshop.com/index.php, using version 1.3.9 h. I have installed the files for the WorldPay module, and have set the details in my WorldPay admin as well as the site. In test, every thing works perfectly, orders complete and I get returned to my site. However, the moment I set it to Live, the order completes and Zen Cart gets the order confirmation, but I do not get redirected to my site. I have created my resultC.html and resultY.html files as required. I have used the same files for another site, www.dragonslivestore.com, and everythign completes as it should. I have spoken to WorldPay tech support, they said there is something missing from my Zen Cart, which really confuses me as I added all the required files. Are there any files that I must make sure is in my template apart from the WorldPay files? Or did someone have the same issue as me and can help me to find a solution?
    Have you tried debugging? If you perform a test transaction on the live site but press cancel payment rather than completing the transaction, are you returned to the worldpay payment cancelled page in zen-cart?

    I haven't setup a resulty or resultc.html for worldpay as when you're returned to the zen-cart neither of these files are required. So it may even be due to that, try deleting them and doing the same as what I have mentioned above.

  3. #3
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi, thanks for the reply. I have activated debugging, and got 2 e-mails, one for Transaction Status Success: and another for Password Failure:. Does this mean my passwords in Zen Cart and WorldPay don't match?

  4. #4
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by barendfaber View Post
    Hi, thanks for the reply. I have activated debugging, and got 2 e-mails, one for Transaction Status Success: and another for Password Failure:. Does this mean my passwords in Zen Cart and WorldPay don't match?
    Yeah normally. Either that or your admin > configuration > sessions > recreate sessions could be set to true. This needs to be false. I had this problem a while ago. Are the cencelled transactions returning you to the zen cart?

  5. #5
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    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.

  6. #6
    Join Date
    Mar 2010
    Location
    Nottingham UK
    Posts
    87
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by barendfaber View Post
    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!

  7. #7
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    I have been on the phone again to WorldPay tech support, got through to another agent. He had a look and said the resultC and resultY did not copy over to live environment, he asked that I need to test again in a few hours once their servers updated. will keep you posted but i am hoping this was the issue.

 

 

Similar Threads

  1. v154 WorldPay Module version 3.0 - Support thread
    By countrycharm in forum Addon Payment Modules
    Replies: 116
    Last Post: 31 Dec 2025, 11:36 AM
  2. MultiSite Module Support Thread
    By Gerome in forum All Other Contributions/Addons
    Replies: 2246
    Last Post: 29 Dec 2025, 10:13 AM
  3. v151 Codetrio Sphinx Search Version 1.0 Support Thread
    By imranulh in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 16 Jul 2014, 01:24 AM
  4. Simple SEO URL (OLD version) [support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 5053
    Last Post: 30 Jun 2014, 02:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg