Realex Payment Module

This payment module is Realex's Realdirect module code which I debugged and extended (it handles different sub-accounts). It is a redirect payment module rather than remote authorisation. + Download Latest

Submit An Updated Version
Zen Cart® Versions v1.5.4, v1.5.5
Original Author hem
Last Updated by honda-crunch - 26 Apr 2017
Downloads 1,907

Version History

Realex Payment Module   -   Version: 1.2.1
This has hopefully fixed a problem when if Realex updates your payment gateway to their new version (sometimes without telling you) a customers payment is taken but the order is not generated. The customer is then returned to your 'time out' page.

Only one line of code to correct the problem regarding sessions has been changed.
The line in /includes/modudules/payment/realex.php starting from: zen_draw_hidden_field('zc_session_id', session_id()) . has been chanded to: zen_draw_hidden_field('zenid', session_id()) .

I have also added a new box in the module that allows the admin user to add a Realex Remote link manually so it can be changed from live mode to sandbox mode without the need to 'hard code' it in the php file. The new Realex live link is already set by default upon installation. For upgraders, please remove and reinstall module (take note of settings first). Instructions included.

I have tested it on our 1.55e test site and our 1.54 live site. It even works with One Page Checkout!

Please note: I am not a professional programmer, simply research, tinkering and goodluck. Please don't ask me any programming stuff.
It works for us, I hope it works for you.
  + Download
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 26 Apr 2017
Author honda-crunch
File Size 17.6 KB
PHP 5.3 Safe? Unknown
Downloads 116
Realex Payment Module   -   Version: 1.2.0
Version 1.2.0

- Rewritten for Zen Cart 1.3.x and 1.5.x compatibility.

- All error handling updated, useful new error messages added with contact links for customers, and old obsolete/broken code removed.

- Code cleaned up and layout improved, with partial adherence to Ceon Coding Guidelines (
  + Download
Zen Cart® Versions v1.3.8, v1.3.9, v1.5.0
Date Added 22 Jul 2012
Author Conor Kerr, Ceon
File Size 15.6 KB
PHP 5.3 Safe? Yes
Downloads 459
Realex Payment Module   -   Version: 1.02
Versions of PHP later than 4.1.0 not supporting $HTTP_POST_VARS meant no information is received back from Realex after the payment process, returning the error 'Hashes don't match'.

The only change to this version is that $HTTP_POST_VARS have been changed to $_POST.

Note: $HTTP_POST_VARS is deprecated and was replaced by $_POST since PHP Version 4.1.0.
  + Download
Zen Cart® Versions v1.3.9
Date Added 3 Dec 2010
Author paddyohanlon
File Size 13.9 KB
PHP 5.3 Safe? Unknown
Downloads 290
Realex Payment Module   -   Version: 1.01
Correct upload of v1.01   + Download
Zen Cart® Versions v1.3.8
Date Added 13 Feb 2008
Author hem
File Size 12.4 KB
PHP 5.3 Safe? Unknown
Downloads 646
Realex Payment Module   -   Version: 1.01
This update gets rid of the osCommerce variable that was a hangover from Realex's attempt to convert the osC mod to ZenCart.

Also removed the debugging tools.

Readme updated with instructions of how to inform Realex regarding the callback URL.
  + Download
Zen Cart® Versions v1.3.8
Date Added 12 Feb 2008
Author hem
File Size 22.3 KB
PHP 5.3 Safe? Unknown
Downloads 174
Realex Payment Module   -   Version: 1.00
Note: This version contains a bug which prevents it from supporting multiple currencies.   + Download
Zen Cart® Versions v1.3.7
Date Added 12 Dec 2007
Author hem
File Size 12.3 KB
PHP 5.3 Safe? Unknown
Downloads 222

Zen-Cart, Internet Selling Services, Klamath Falls, OR