Hi,
I have downloaded and installed this module for Realex.
I have updated my merchantID and shared secret in the modules/payment/realex but everytime I submit an order I get the following error:
Error 508
Invalid data in MERCHANT_ID field.
Can someone help me out.
thanks.
Hi,
I orignally set the merchantID value in the Modules->Payment->Realex but this didn't work. So I hard coded the value in the code itself and that didn't work. So I downloaded the sample PHP from Realex and only then could I successfully process a payment.
But I still can't successfully complete the order because I get an error message:
"Although this page is encrypted, the information you have entered is to be sent over an encrypted connection that could easily be read by a third party..."
and if the user selects cancel instead of continue the order is not inserted into Zencart database even though the payment was successful. And on top of that even if they do select continue they are returned to an blank page.
Any ideas how I solve these issues?
I am using ZenCart v1.3.8a
thanks.
my merchantid is "equestriangifts"
website is www.equestriangifts.ie
I managed to get it redirecting to the checkout_success page but the order is not added to the database. can this be done from the success page. If it can then I think I'm done bar the secure items error message (which is not good for a customer confidence point of view)
Are you still using the Realex code? In which case I think it's set for osCommerce (it was the code I used to make the ZenCart mod). You could possibly use something like WinMerge to check out the differences between my code and the Realex code. However the mod should work- I use it on 3 of my own sites with no problem. Have you tried contacting Realex after putting through a test transaction and finding out from them why it failed?
Hi,
I think I got it working, will test more this evening. I think I had managed to merge some of realex code with yours which was causing me no end of grief.
thanks.
Hi,
All is working fine now - minor technical hitch at the start!
I also updated your before_process.php to display a friendly error message if the card processing failed from Realex. You can use it on your sites if you like. Let me know what you think.
thanks.
<html>
<body>
<?php
$result = $_POST['RESULT'];
if ($result == "00") {
include('includes/application_top.php');
//$orderid = $_POST['ORDER_ID'];
$process_button_string =
zen_draw_hidden_field('MERCHANT_ID', $_POST['MODULE_PAYMENT_REALEX_ID']) .
zen_draw_hidden_field('ORDER_ID', $_POST['ORDER_ID']) .
zen_draw_hidden_field('TIMESTAMP', $_POST['TIMESTAMP']) .
zen_draw_hidden_field('AUTHCODE', $_POST['AUTHCODE']) .
zen_draw_hidden_field('MESSAGE', $_POST['MESSAGE']) .
zen_draw_hidden_field('RESULT', $_POST['RESULT']) .
zen_draw_hidden_field('PASREF', $_POST['PASREF']) .
zen_draw_hidden_field('MD5HASH', $_POST['MD5HASH']);
echo "<form action='" . zen_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL') . "' method='post' name='completeprocess'>";
echo $process_button_string;
echo "</form>";
?>
Your order payment was processed successfully.
<script>
document.completeprocess.submit();
</script>
<?php
} else {
?>
<p>
<strong>We encountered a problem processing your order payment.</strong> <i> <?php echo $_POST['MESSAGE'] ?> </i><br />
To try again please <a href="http://www.equestriangifts.ie/index.php?main_page=shopping_cart"><strong>click here</strong></a><br />
If you would like to discuss your order contact us at <a href="mailto:[email protected]">[email protected]</a>
or call us on +353 (0)51 644388
</p>
<?php
}
?>
</body>
</html>
Hi,
Does this module support both Redirect and Remote methods of integration?
I see osCommerce version of the plugin does and apparently came from Realex themselves.
But I'd prefer to use Zen Cart if I could.
Cheers.
Bookmarks