【问题标题】:cashu integration with asp.netCashu 与 asp.net 的集成
【发布时间】:2013-01-13 21:33:05
【问题描述】:

我必须在我的 Web 应用程序中集成 Cashu 支付网关,我使用的是 cashu 实施指南提供的代码。我在 Cashu 上创建了商家帐户,但找不到加密密钥选项。因此,每当发布值时,我都会收到无效的商家令牌值错误。可以,任何人都可以帮助我摆脱这种情况!

<form action="https://www.cashu.com/cgi-bin/pcashu.cgi" method="post">
<input type="hidden" name="merchant_id" value="merchanttest">
<input type="hidden" name="token" value="66a31cd699d8d9cb454df1f6cec30c2c">
<input type="hidden" name="display_text" value="Baseball Hat">
<input type="hidden" name="currency" value="CSH">
<input type="hidden" name="amount" value="125">
<input type="hidden" name="language" value="en">
<input type="hidden" name="session_id" value="asdasd-234-asdasd">
<input type="hidden" name="txt1" value="item27">
<input type="hidden" name="test_mode" value="1">
<input type="submit" value="Pay with cashU!">
</form>

【问题讨论】:

    标签: payment-gateway


    【解决方案1】:

    我认为您不应该依赖示例加密密钥,因为显然它是错误的,并且每个商家都有自己的密钥。

    查看http://docs.whmcs.com/CashU我发现以下内容:

    “您可以在您的 CashU 帐户中找到加密关键字,方法是转到我的帐户 > 付款安全。 这也是您需要设置返回 url 的地方,它必须设置为: http://www.yourdomain.com/modules/gateways/callback/cashu.php 通知 URL 应留空。”

    希望对你有帮助

    【讨论】:

      猜你喜欢
      • 2016-06-01
      • 1970-01-01
      • 1970-01-01
      • 2013-10-08
      • 2012-02-21
      • 1970-01-01
      • 2011-09-23
      • 2013-07-28
      • 2011-09-02
      相关资源
      最近更新 更多