简单的 paisa 支付网关集成错误

Zai*_*Ali 6 payment payment-gateway

我需要帮助,因为在处理 EasyPaisa 支付网关集成时遇到错误。

我们在 EasyPaisa 上有一家商店,并收到了如何集成的付款集成指南。

他们提到通过发布以下表格 https://easypay.easypaisa.com.pk/easypay/Index.jsf

<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>
Run Code Online (Sandbox Code Playgroud)

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

Easy Paisa 关于错误的描述

任何帮助是我错过了一些东西

Dou*_*han 3

您的表单输入错误,这就是它不起作用的原因。

\n\n

您只需更改此设置并检查它是否有效。

\n\n

\r\n
\r\n
<! \xe2\x80\x93 If merchant wants to post specific Payment Method (Optional) -- >\r\n\r\nReplace this:\r\n\r\n<input type =\xe2\x80\x9dhidden\xe2\x80\x9d name=\xe2\x80\x9dpaymentMethod\xe2\x80\x9d value=\xe2\x80\x9d0\xe2\x80\x9d>\r\n\r\n<! \xe2\x80\x93 If merchant wants to post specific Payment Method (Optional) -- >\r\n\r\nBy one of the following.\r\n\r\n1. For Mobile Account:\r\n\r\n<input type ="hidden" name="paymentMethod" value="MA_PAYMENT_METHOD">\r\n\r\n\r\n2. For Retailer/Shop Account:\r\n\r\n<input type ="hidden" name="paymentMethod" value="OTC_PAYMENT_METHOD/">\r\n\r\n\r\n3. For Credit/Debit Card:\r\n\r\n<input type ="hidden" name="paymentMethod" value="CC_PAYMENT_METHOD">
Run Code Online (Sandbox Code Playgroud)\r\n
\r\n
\r\n

\n\n

我有同样的问题,但当我尝试这个时,它对我有用。

\n