Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2008
    Posts
    2
    Plugin Contributions
    1

    Default Realex Redirect Payment Module Issue; 'Hases don't match'

    This is not a question but some information I hope will be useful. (If someone can tell me a better place to publish this, please do).

    Issue: I migrated Zen Cart to a new host, with payments through the Realex Payments Module (http://www.zen-cart.com/index.php?ma...roducts_id=825) and started receiving an error after the payment was processed. I move from Blacknight to Dreamhost.

    The error: 'Hashes don't match - Response not authenticated'. The error was displayed after being redirected to Page 2 of the checkout process.

    The solution: A newer version of PHP was installed on the Dreamhost server. In the Realex Payments Module, specifically in the file 'includes/modules/payments/realex.php', the request $HTTP_POST_VARS was being used to retrieve the order information. $HTTP_POST_VARS is deprecated and was replaced by $_POST since PHP Version 4.1.0. As the request was not supported by that version of that PHP no information was being received back from Realex.

    Updating to $_POST solved the problem.

    I have updated the Realex Payment Module to include the change...

    I spent a stressful couple of days working this out. I hope it helps someone. :)

  2. #2
    Join Date
    Dec 2009
    Posts
    32
    Plugin Contributions
    0

    Default Re: Realex Redirect Payment Module Issue; 'Hases don't match'

    Thanks that's great.
    B

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

    Default Re: Realex Redirect Payment Module Issue; 'Hases don't match'

    This is awesome, thanks so much Paddy. this fixed my issue. I have been scratching my head for months over this!

 

 

Similar Threads

  1. Realex RealDirect Payment Module.
    By hem in forum Addon Payment Modules
    Replies: 94
    Last Post: 17 Nov 2017, 01:46 PM
  2. Issue with realex payment module
    By alfrizmartin in forum Addon Payment Modules
    Replies: 6
    Last Post: 7 Oct 2010, 07:51 PM
  3. Wrong order number in checkout_success page with RealEx payment module
    By stuartmcmahon in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Sep 2010, 09:50 PM
  4. Ultimate SEO Module + htaccess 301 redirect issue
    By justinanderson007 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 31 Aug 2010, 04:12 PM
  5. Realex Module
    By cuhl in forum Addon Payment Modules
    Replies: 1
    Last Post: 22 May 2009, 09:27 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR