首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >简易paisa支付网关集成错误

简易paisa支付网关集成错误
EN

Stack Overflow用户
提问于 2016-11-25 14:19:21
回答 3查看 10K关注 0票数 6

我需要帮助,因为在EasyPaisa支付网关集成获得错误的工作。

我们在EasyPaisa上有一个商店,并收到付款整合指南如何整合。

他们已经提到,通过张贴以下表单https://easypay.easypaisa.com.pk/easypay/Index.jsf

代码语言:javascript
复制
<form action="https://easypay.easypaisa.com.pk/easypay/Index.jsf" method="POST" target="_blank">
<! -- Store Id Provided by Easypay-->
<input name="storeId" value="43" hidden = "true"/>
<! -- Amount of Transaction from merchant’s website -->
<input name="amount" value="10" hidden = "true"/>
<! – Post back URL from merchant’s website -- >
<input name="postBackURL" value=" http://www.my.online-store.com/transaction/MessageHandler" hidden = "true"/>
<! – Order Reference Number from merchant’s website -- >
<input name="orderRefNum" value="1101" hidden = "true"/>
<! – Expiry Date from merchant’s website (Optional) -- >
<input type =”hidden” name=”expiryDate” value=”20140606 201521”>
<! – Merchant Hash Value (Optional) -- >
<input type =”hidden” name=”merchantHashedReq” value=”askldjflaksdjflkasdf======asdfas dfkjaskdf”>
<! – If Merchant wants to redirect to Merchant website after payment completion (Optional) -- >
<input type =”hidden” name=”autoRedirect” value=”0”>
<! – If merchant wants to post specific Payment Method (Optional) -- >
<input type =”hidden” name=”paymentMethod” value=”0”>
<! – If merchant wants to post specific Payment Method (Optional) -- >
<input type =”hidden” name=”emailAddr” value=”test.abcd@abcd.com”>
<! – If merchant wants to post specific Payment Method (Optional) -- >
<input type =”hidden” name=”mobileNum” value=”03325241789”>
<! – This is the button of the form which submits the form -- >
<input type = “image” src=”checkout-button-with-logo.png border=”0” name= “pay”>
</form>

当我使用我们的storeId提交此表单时,在easypaisa网站上得到以下错误

Easy Paisa Description about error

任何帮助都是我遗漏了一些东西

EN

回答 3

Stack Overflow用户

发布于 2017-01-03 21:46:36

您的表单输入错误,这就是它无法工作的原因。

您只需更改此设置,然后检查它是否会工作。

代码语言:javascript
复制
<! – If merchant wants to post specific Payment Method (Optional) -- >

Replace this:

<input type =”hidden” name=”paymentMethod” value=”0”>

<! – If merchant wants to post specific Payment Method (Optional) -- >

By one of the following.

1. For Mobile Account:

<input type ="hidden" name="paymentMethod" value="MA_PAYMENT_METHOD">


2. For Retailer/Shop Account:

<input type ="hidden" name="paymentMethod" value="OTC_PAYMENT_METHOD/">


3. For Credit/Debit Card:

<input type ="hidden" name="paymentMethod" value="CC_PAYMENT_METHOD">

我也有同样的问题,但当我尝试时,它对我来说是有效的。

票数 2
EN

Stack Overflow用户

发布于 2020-04-06 20:10:29

实际上,这是Easypaisa文档中给出的代码片段中的一个问题。

反逗号(双引号)错误

将“替换为”

它们是:

代码语言:javascript
复制
<input type =”hidden” name=”paymentMethod” value=”0”>

应该是:

代码语言:javascript
复制
<input type ="hidden" name="paymentMethod" value="0">
票数 0
EN

Stack Overflow用户

发布于 2020-08-24 23:45:09

代码语言:javascript
复制
<! – If merchant wants to post specific Payment Method (Optional) -- >

Replace this:

<input type =”hidden” name=”paymentMethod” value=”0”>

<! – If merchant wants to post specific Payment Method (Optional) -- >

By one of the following.

1. For Mobile Account:

<input type ="hidden" name="paymentMethod" value="MA_PAYMENT_METHOD">


2. For Retailer/Shop Account:

<input type ="hidden" name="paymentMethod" value="OTC_PAYMENT_METHOD/">


3. For Credit/Debit Card:

<input type ="hidden" name="paymentMethod" value="CC_PAYMENT_METHOD">

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

https://stackoverflow.com/questions/40798851

复制
相关文章

相似问题

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