asp.net网站中的付款集成 [英] payment integration in asp.net web site

查看:66
本文介绍了asp.net网站中的付款集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个要集成支付网关的Web应用程序.我给了一个webService Api.我需要传递付款金额和产品代码的地方,它将以诸如resultCode = 00 && resultDesc ="sucessfull"之类的消息进行响应.任何人都可以告诉我我该怎么做吗我想创建具有两个属性的类resultCode&resultDesc
并从响应流中初始化它的值.

i have one web application where i want to integrate payment gateway . i have given one webService Api. where i need to pass payment amount and product code and it will response with message like resultCode=00&&resultDesc="sucessfull". can any one tell me how i can do this i want to create class with two properties resultCode &resultDesc
and initialize its value from the response stream .

推荐答案

您将需要查看ASP.NET Web服务或其较新的表亲WCF.他们使用的代理类将包含您要查找的属性,并且代理将与远程Web服务联系以处理交易.
You''ll need to look at ASP.NET Web services or its younger cousin WCF. They use a proxy class that would contain the properties that you''re looking for, and the proxy will contact the remote web service to process the transaction.


这篇关于asp.net网站中的付款集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆