1

我正在使用 Realex Payments 网关的重定向方法。它正确地重定向到他们的服务器,但是当我继续处理实时卡详细信息时,它显示它正在处理中。完成该过程后,我收到以下消息。

您的交易已被拒绝。请联系您的信用卡提供商,了解您的信用卡被拒绝的原因。

这就是我发送详细信息的方式:

<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>
4

2 回答 2

2

If you are under test mode you should use test card details. To get those details you have to contact the realex support. First make sure you in test mode or not. If you are on test you will be provided a test merchant ID and a test shared secret. I would suggest you to use test mode since you are still developing the system. Above error message means your card was declined by bank due to one of the following reason

  • Invalid Card Number
  • Invalid Amount
  • Invalid Currency
  • Invalid Expire Date
  • Invalid Merchant
  • Invalid Transaction
  • Not authorised card
  • Retailer Unknown

So make sure your parameters pass the right data. Live card will not work if you are on test mode.

于 2013-04-11T03:43:35.530 回答
1

此消息表示银行拒绝交易,支付未成功。发生这种情况的原因有很多,但最常见的是卡已超过其限制,或者可能输入了错误的到期日期。检查 RealControl 中的事务以找到将为您提供更多信息的结果代码。

另一件事是,代码中的“epage.cgi”之后不应有斜杠“/”。

欧文

于 2013-03-12T22:45:20.567 回答