首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何将PayUMoney与AngularJS-1.6.4集成

如何将PayUMoney与AngularJS-1.6.4集成
EN

Stack Overflow用户
提问于 2018-04-13 13:11:45
回答 1查看 651关注 0票数 0

我正在尝试将PayUMoney与我的Angularjs1.6应用程序集成,但它显示了

纠正措施请注意,这是PayU的测试环境- https://test.payu.in/ ,但是您使用的密钥(*)不是测试环境密钥。

我不知道我做错了什么。

用AngularJS-1.6为PayUMoney测试环境推荐一个合适的解决方案

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-04-14 11:33:36

这是我的工作密码。在角2上写了2天后的only..Its .检查是否正确传递参数。

代码语言:javascript
复制
<form ngNoForm cl  action="https://test.payu.in/_payment" method="POST" style="display:none">
  <input type="text" name="key" [value]="paymentInfo.hash_sequence.key" />
  <input  type="text" name="txnid" [value]="paymentInfo.hash_sequence.txnid"/>
  <input type ="text" name="amount"  [value]="paymentInfo.hash_sequence.amount"/>
  <input type="text" name="currency" value="paymentInfo.hash_sequence.currency" />
  <input  type="text" name="productinfo" [value]="paymentInfo.hash_sequence.productinfo" />
  <input type ="text" name="firstname"  [value]="paymentInfo.hash_sequence.firstname"/>
  <input type="text" name="email" [value]="paymentInfo.hash_sequence.email" />
  <input type ="text" name="phone"  [value]="paymentInfo.hash_sequence.mobile"/>
  <input type ="text" name="hash"  [value]="paymentInfo.hash"/>  
  <input type ="text" name="surl"  value="{{environment.api}}/payment/success"/>
  <input type ="text" name="furl"  value="{{environment.api}}/payment/failure"/>
  <input type ="text" name="curl"  value="{{environment.api}}/payment/cancel"/>
  <button id="get_payment" type="submit">Submit</button>
</form>

如果问题仍然存在,快速黑客将在散列中做出一些错误,并检查您是否收到了hash错误消息。如果您收到了哈希错误消息,那么您的代码就可以了。你得弄清楚你的钥匙在哪里被撬开了。

最好的方法是使表单可见并直观地查看数据。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49817876

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档