Page 1 of 2 12 LastLast
Results 1 to 10 of 730

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi,

    If you were replying to me I'm afraid it's not that. I've tried various permutations of the callback URL and I've now put it back to what it should be (and which was working for 9 months):
    http://<wpdisplay item="MC_callback">

    From scanning various pages on the topic it seems that various PHP settings, particularly to do with sessions, might affect the 302 error. It seems to me that when Worldpay issues the callback (which it does, and with the correct callback pw) Zen Cart has forgotten who it's talking about and therefore redirects it to the hacker response page.

    I've finally had some word from our host and they've only sent me a link to the servers config page - phpinfo.php

    I've looked at the section on sessions, but basically don't have a clue what most of it means.... can someone send me their PHP 5.3 info page in a PM or something so that I can compare??

    I've been told I might be able to make changes via a php.ini file - does anyone have experience of doing that?

    Thanks,
    Nick

  2. #2
    Join Date
    Apr 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    First check that in Configuration > Sessions the following are all set to false:
    Force Cookie Use
    Check SSL Session ID
    Check User Agent
    Check IP Address

    If it's still not working after that look at phpinfo.php and check that the following are turned off:
    register globals
    magic quotes
    session.use_trans_sid

    That's just my two pence. No doubt there are many other settings that might be involved.

  3. #3
    Join Date
    Jan 2011
    Posts
    4
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Thanks for those that have replied - I've managed to crack it finally! (With absolutely bugger all help from our hosts Hostpapa.)

    Eventually I did get them to forward a phpinfo page for the new server and also one from a server yet to have the upgrade. After comparing the two I noticed that the only relevant setting that was changed was
    session.use_only_cookies
    which used to be off and with the the PHP upgrade to 5.3 it by default gets set to ON.

    As it is CGI-running server (I learnt the odd thing or two!) I uploaded a php.ini file in the root of the server with the sole line being:
    session.use_only_cookies = off

    This immediately fixed it and the callback was coming through, orders into ZC, confirmation email to customer from ZC etc.

    I'm glad it's over, just wished the hosts (who you would think would be knowledgeable about the possible solutions) would have responded sooner!

    btw, I did check those session settings in ZC first.
    Also, to anyone frantically doing a google search, like I've been doing the last 5 days, I am on ZC 1.3.9b and Worldpay for ZC 2.10


    Bye,
    Nick

  4. #4
    Join Date
    Feb 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by niknfa View Post
    Thanks for those that have replied - I've managed to crack it finally! (With absolutely bugger all help from our hosts Hostpapa.)

    Eventually I did get them to forward a phpinfo page for the new server and also one from a server yet to have the upgrade. After comparing the two I noticed that the only relevant setting that was changed was
    session.use_only_cookies
    which used to be off and with the the PHP upgrade to 5.3 it by default gets set to ON.

    As it is CGI-running server (I learnt the odd thing or two!) I uploaded a php.ini file in the root of the server with the sole line being:
    session.use_only_cookies = off

    This immediately fixed it and the callback was coming through, orders into ZC, confirmation email to customer from ZC etc.

    I'm glad it's over, just wished the hosts (who you would think would be knowledgeable about the possible solutions) would have responded sooner!

    btw, I did check those session settings in ZC first.
    Also, to anyone frantically doing a google search, like I've been doing the last 5 days, I am on ZC 1.3.9b and Worldpay for ZC 2.10


    Bye,
    Nick
    This worked perfectly for me, we moved servers and noticed that the payment response was giving the error:

    NOT OK, recevied HTTP status: 302

    I could not get the php.ini method to work so I added the following line to my .htaccess php_value session.use_only_cookies 0. I then noticed that in my phpinfo went from session.use_only_cookies On to Off.

    I hope this helps someone.
    Last edited by james_the_camel; 9 Feb 2012 at 12:26 PM.

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

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi all,

    OK, so seem to have an issue with the installation, if someone could please direct me.

    I am using Zen Cart version 1.3.9f, with Worldpay v 2. I have added all the info as per the install instructions, I have created my Payment Response Password and MD5 secret for transactions password, added my Payment Response url (http://<wpdisplay item="MC_callback"), added the passwords to my Zen Cart Worldpay installation, added a php.ini file with session.use_only_cookies = off, and I have PHP version 5.2.17.

    When I place the order through the site (www.blackorangevintage.com), I get to the Worldpay screen where I can add my card details, it then takes the payment and give me a success screen (Thank you, your payment was successful
    Merchant's Reference: *******
    WorldPay Transaction ID: *********). I get the confirmation e-mail from Worldpay, no e-mail from Zen Cart and no order in Zen cart. I have been looking at the posts and have tried various things but cannot seem to make it work. Please, please help!

  6. #6
    Join Date
    Aug 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Is anyone using Worldpay with zencart v1.5 with PHP 5.3. I'm currently upgrading but have had a problem with worldpay itself when my host changed from PHP 5.2 to 5.3, had to put in an override to allow the site to carry on as PHP 5.2 but this option will not be available in a couple of weeks.

  7. #7
    Join Date
    Aug 2011
    Posts
    10
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Found the answer finally in one of the above posts by niknfa. Managed to get a copy of the hosts phpinfo and compared the 5.2 with the 5.3 version, found the session.use_only_cookies had changed.

    Put in an overriding php.ini and its now working fine

  8. #8
    Join Date
    Feb 2013
    Posts
    6
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi i am new to this and have exactly the same problem with worldpay and have exactly the same problem i have located my .htaccess file please can you tell me how to add a line do i just add 'php_value session.use_only_cookies 0' underneath what is already there, i tried that and my website went down with an internal 500 error, do i need to add something before the line like brackets to make it work? i also don't know how to check my phoinfo on cookies, i have spent hours trying to resolve the worldpay issue and help would be greatly received.

  9. #9
    Join Date
    Jun 2009
    Location
    Porthleven, Cornwall, UK
    Posts
    45
    Plugin Contributions
    1

    Default Re: WorldPay Module version 2.0 - Support thread

    Quote Originally Posted by niknfa View Post
    Hi,

    If you were replying to me I'm afraid it's not that. I've tried various permutations of the callback URL and I've now put it back to what it should be (and which was working for 9 months):
    http://<wpdisplay item="MC_callback">...
    No I wasn't replying to you specifically niknfa, just pointing out that, by default WorldPay sets the callback URL to <wpdisplay item="MC_callback"> (without the preceding http:// or https:// ) which will result in a callback failure.

    WorldPay's callback always tries to return to an https connection irrespective of whether you enter http or https in the Payment Response URL so will result in security messages flagging up in the users browser if you don't have SSL installed. Ideally, for customer confidence and compliance with WorldPay's merchant T&C's your website should have an SSL certificate installed.

    The WorldPay module normally worked 'out of the box' in earlier versions of Zen Cart, but additional security protocols in 1.39 versions seems to be causing issues with getting the integration set up.

    For anyone having problems it's worth trying the following settings in the Integration setup at WorldPay:-

    Payment response: checked
    Recurring Payment response: checked
    Enable Shopper response: checked
    Suspension of Payment Response: not checked

    Using the WP copy from the test integration to the live integration appears 'lose' or corrupt the password so always re-type (or copy paste) the matching Payment Response password from your Zen Cart store setup into the 'live' integration.

    I've found that setting MD5 secret for transactions to on in most of my clients setup usually results in callback failure, so I always leave it empty and unused.

    Hope this helps anyone having problems with the WP setup...

  10. #10
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: WorldPay Module version 2.0 - Support thread

    Hi all, well i read pretty much of these 60 pages!
    My problem i only have with this mod, is that it times out?
    Here is the email i received:

    Our systems have detected that your callback has failed.

    This callback failure means we were unable to pass information
    to your server about the following transaction:

    Transaction ID: 2064097426
    Cart ID: b02c5f86f8941dac71bf2f3cbb7598b0
    Installation ID: XXXXXX

    Error reported: Callback to: http://www.cakekraft.co.uk/index.php...e=wp_callback: failed CAUSED BY Read timed out
    Server Reference: mm2imsps4p:callbackFailureEmail-130046:MerchReq-377-42

    Also, if you usually return a response page for us to display to the Shopper
    within the time allowed (1 minute), this will not have been displayed.

    RBS WorldPay will have displayed to the Shopper the response page file
    (resultY.html or resultC.html) held for your installation on the RBS WorldPay
    server. This will be your own custom version, if you have supplied one, or,
    if not, the RBS WorldPay default version.

    Please can someone help, as people are placing orders and it's not showing in Zencart.
    Thank You.
    Nic

 

 
Page 1 of 2 12 LastLast

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