惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Jina AI
Jina AI
WordPress大学
WordPress大学
Recent Announcements
Recent Announcements
G
Google Developers Blog
I
InfoQ
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Google DeepMind News
Google DeepMind News
P
Proofpoint News Feed
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
C
Check Point Blog
J
Java Code Geeks
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
人人都是产品经理
人人都是产品经理
量子位
A
About on SuperTechFans
D
DataBreaches.Net
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

博客园 - wdx2008

ORM框架 sql语句字符串处理大全 - wdx2008 - 博客园 收集的ASP.NET中常用正则表达式 - wdx2008 - 博客园 web.config详解 教你合理设计数据表,将优化进行到底 为你的mail server增加SPF记录 马云在《赢在中国》对创业者的经典点评 给不同文件夹设置主题并指定其编码 - wdx2008 - 博客园 SET XACT_ABORT各种用法及显示结果 ASP.NET邮件外发 asp.net Request.ServerVariables 各参数说明集合 - wdx2008 sql清除事务日志命令 js不允许单独打开left.aspx或top.apsx - wdx2008 - 博客园 ASP.NET2.0 TreeView的数据库绑定 - wdx2008 - 博客园 forms验证:怎么验证两种身份? Forms 验证进行角色控制全攻略 收藏的一些ASP.net 2.0资料 关于asp.net 2.0的用户、角色管理总结(转) - wdx2008 - 博客园 開源圖表控件ZedGraph
在线支付类封装 - wdx2008 - 博客园
wdx2008 · 2007-12-26 · via 博客园 - wdx2008

支付宝发送

AlipayClass.MyAlipay pay = new AlipayClass.MyAlipay();
       Hashtable ht 
= new Hashtable();
       ht.Add(
"seller_email""wdx2011@163.com");
       ht.Add(
"billid""96578556656688");
       ht.Add(
"goodname""AilpayClass");
       ht.Add(
"price""0.01");
       ht.Add(
"msg""AilpayClass");
       ht.Add(
"returnurl""http://localhost:56/2.aspx");
       ht.Add(
"showurl""www.lilacshop.com");
       ht.Add(
"encode""GB2312");
       pay.Send(ht);

获取状态

 AlipayClass.MyAlipay pay = new AlipayClass.MyAlipay();
           Response.Write(pay.GetState(
"gb2312")+"<br>");//获取交易状态1为已支付 2预支付 0为失败 否则返回其它支付状态码
           Response.Write("订单号:" + pay.GetState("out_trade_no""gb2312")); //输入返回状态中参数及页面编码 out_trade_no为订单号
           
//Response.Write(pay.GetState("gb2312", true));//启用调试打印具体信息

网银

 AlipayClass.ChinaBank cb = new AlipayClass.ChinaBank();
           Response.Write(cb.GetState()
+"<br>");
           Response.Write(
"v_oid:"+cb.GetState("v_oid")+"<br>");
           Response.Write(
"v_psstring:" + cb.GetState("v_psstring"+ "<br>");