I am using the redirection method of Realex Payments gateway. It's redirecting correctly to their server, but when I proceed with live card details it's showing that it's processing. After completion of the process am getting the message below.
Your transaction has been declined. Please contact your credit card provider to find out why your card was declined.
This is how I am sending the details:
<form action="https://epage.payandshop.com/epage.cgi/" method=post>
<input type="hidden" name="MERCHANT_ID" value="<?=$merchantid?>">
<input type="hidden" name="ORDER_ID" value="<?=$orderid?>">
<input type="text" name="CURRENCY" value="<?=$curr?>">
<input type="text" name="AMOUNT" value="<?=$amount?>">
<input type="hidden" name="TIMESTAMP" value="<?=$timestamp?>">
<input type="hidden" name="MD5HASH" value="<?=$md5hash?>">
<input type="hidden" name="AUTO_SETTLE_FLAG" value="1">
<input type="submit" name="submit" value="Proceed to server"/>
</form>
This message means that the bank has refused the transaction and the payment has not succeeded. This can happen for many reasons, but the most common are that the card has exceeded its limit, or that perhaps the wrong expiry date has been entered. Check the transaction in RealControl to find the result code which will give you more information.
One other thing, there should not be a trailing slash '/' after 'epage.cgi' in your code.
Owen