【发布时间】:2012-04-06 17:10:20
【问题描述】:
我一直在寻找如何将我的商家支付网关集成到 ubercart 中的 2 天。所以我决定在这里问。
我的商家提供以下代码作为示例:
<form name="payFormCcard" method="post" action=" https://test.MyMerchantGateway.com/ECN/eng/payment/payForm.jsp">
<input type="hidden" name="merchantId" value="1">
<input type="hidden" name="amount" value="3000.0" >
<input type="hidden" name="orderRef" value="000000000014">
<input type="hidden" name="currCode" value="608" >
<input type="hidden" name="successUrl" value="http://www.yourdomain.com/Success.html">
<input type="hidden" name="failUrl" value="http://www.yourdomain.com/Fail.html">
<input type="hidden" name="cancelUrl" value="http://www.yourdomain.com/Cancel.html">
<input type="hidden" name="payType" value="N">
<input type="hidden" name="lang" value="E">
<input type="submit" name="submit">
</form>
请注意,出于安全原因,我更改了上面的实际域。
结帐后我想要的是将其重定向到https://test.MyMerchantGateway.com/ECN/eng/payment/payForm.jsp
【问题讨论】: