2017-02-09 50 views
0

當前,我們正在以下面的形式分配值並將數據發佈到payfort。哪些工作正常!從服務器端與Asp.Net MVC進行Payfort集成

<form method="post" action="https://sbcheckout.payfort.com/FortAPI/paymentPage" id=form1 name=form1> 
<input type="hidden" name="signature" /> 
<input type="hidden" name="command" /> 
<input type="hidden" name="merchant_reference" /> 
<input type="hidden" name="amount" /> 
<input type="hidden" name="access_code" /> 
<input type="hidden" name="merchant_identifier" /> 
<input type="hidden" name="currency" /> 
<input type="hidden" name="language" /> 
<input type="hidden" name="customer_email" /> 
<input type="hidden" name="payment_option" /> 
<input type="hidden" name="order_description" /> 
<input type="hidden" name="return_url" /> 

But when we post the data throw above method it shows the credential information to others

有沒有什麼辦法,我們可以發佈數據,從我們的控制器payfort並重定向到URL發佈?

回答

0

是的,你可以發佈數據使用.NET客戶端庫https://github.com/payfort/start.net

步驟調用payfort到payfort。

1)生成卡令牌
傳遞開放密鑰和卡詳細信息。

2)用卡令牌創建負責

3)捕獲的電荷量

如果你需要編寫代碼,請讓我知道awais_shabir()的Hotmail()COM

+0

如果你需要編寫代碼,請讓我知道 – user3027900

+0

可否請您在Github上傳代碼, –