2017-02-09 6 views
0

現在、以下のフォームに値を割り当て、payfortにデータをポストします。どちらがうまくいくの!Payfortとサーバー側のAsp.Net MVCとの統合

<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

はい、あなたはpayfortを呼び出すために、.NETクライアントライブラリにhttps://github.com/payfort/start.net

の手順を使用してpayfortためにデータを投稿することができます。

1)カードトークンを生成する
パスキーとカードの詳細を渡す。

2)あなたは、コードが必要な場合、私はあなたがコードが必要な場合は私に知らせてくださいawais_shabir()Hotmailの()COM

+0

をお知らせ下さい電荷量

をキャプチャ)

3トークンカードを使用して電荷を作成します – user3027900

+0

Githubでコードをアップロードしてください。 –

関連する問題