asp.net实现网上银行在线交易是怎么实现的?说的详细一点最好说出具体的流程还有代码!谢谢!

来源:百度知道 编辑:UC知道 时间:2024/07/02 08:20:01

各大银行基本不会为你提供在线支付接口的 除非你的网站够大够强。
试试第三方支付平台接口使用 其实和银行的接口程序使用方式一样。
说说支付宝接口吧。要收费的。现在没有免费的了。最低套餐 -- 一年600元。36000元的现金交易流量。最便宜的了。
主类:
AliPay.cs
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using System.Security.Cryptography;
/// <summary>
/// New Interface for AliPay
/// </summary>
namespace Gateway
{
/// <summary>
/// created by sunzhizhi 2006.5.21,sunzhizhi@msn.com。
/// </summary>
public class AliPay
{

public static string GetMD5(string s, string _input_charset)
{

/// <summary>
/// 与ASP兼容的MD5加密算法
/// </summary>