Paypal API集成到ASP.Net网站 [英] Paypal API Integration into ASP.Net Web Site

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

问题描述

我目前正在实施电子商务网站.我想集成PayPal API,但在弄清楚从哪里开始时遇到了一些麻烦.

我已经从此页面下载了命名值对" SDK.

我可以通过删除过时的csproj文件并仅打开整个目录作为网站来编译和运行示例项目.我已经在其他论坛上研究了代码和一些类似的问题,并开始对此有所了解,但我必须承认我有点不知所措.

如果要将API集成到解决方案中,需要包含哪些文件?我看到了似乎需要的几个DLL和几个类,但还有大量其他文件.我似乎无法弄清楚哪些是示例",哪些是API正常运行所必需的.

我需要完成以下任务:
-通过在网站上输入信用卡信息进行结帐(Website Payments Pro)
-定期进行PayPal结帐和结帐Express(我已经通过基本形式完成了此操作,但是我认为有一种更优雅的方式可以通过API来执行此操作?)
-PayPal通知付款状态,以便可以更新本地订单信息.

抱歉,这似乎有些混乱,但我承认我对这种事情是陌生的.

在此先感谢您.

I currently am working on implementing an eCommerce site. I would like to integrate the PayPal API but I am having some trouble figuring out where to start.

I have downloaded the Named Value Pair SDK from this page.

I was able to compile and run the example project by deleting the outdated csproj file and just opening the whole directory as a web site. I have been studying the code and some similar questions in other forums and am starting to understand this a bit but I must admit I''m a bit overwhelmed.

If one wants to integrate the API into a solution, which files need to be included? I see several DLLs and a few Classes which seem necessary, but also a ton of other files. I can''t seem to figure out which are "examples" and which ones are required for the API to function correctly.

I need to accomplish the following:
- Checkout by entering credit card info on site (Website Payments Pro)
- Regular PayPal checkout and checkout Express (I have accomplished this through a basic form, but I assume there is a more elegant way to perform this via the API?)
- Notification by PayPal on status of payment so that local order information can be updated.

Sorry if this seems a bit jumbled but I admit I am new to this type of thing.

Thanks in advance.

推荐答案

这必须为您提供帮助.现在,贝宝有了更好的文档.他们用示例代码很好地解释了.
PayPal集成概述 [
This must help you. Now Paypal have better documentation. They explained very well with sample code.
PayPal Integration Overview[^]


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

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