We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
Google 提供了使用 Google Checkout .NET API 2.4 版及更早版本进行订单处理的示例代码:
http://code.google.com/p/google-checkout-dotnet-sample-code/downloads/list
它不是功能齐全的示例代码,但应该足以让您无需直接处理 XML。
Google Checkout API 2.5 版不再需要 SSL/https 来处理通知。 Google 尚未针对该场景提供任何 .NET 示例代码。通过反复试验,我创建了一个 ASP.NET MVC 示例应用程序,用于处理来自 2.5 API 的 Google Checkout 通知:
http://www.capprime.com/software_development_weblog/2010/11/29/UsingTheGoogleCheckout25APIWithASPNETMVCTheMissingSample.aspx
这些是我所知道的唯一示例,并且我花了几个小时进行搜索。
另请参阅:Google Checkout 回复的 C# 示例?
Google provides sample code for using their Google Checkout .NET API versions 2.4 and earlier for order processing:
http://code.google.com/p/google-checkout-dotnet-sample-code/downloads/list
It's not fully featured sample code, but it should be enough to get you going without having to resort to dealing with XML directly.
Version 2.5 of the Google Checkout API no longer requires SSL/https for handling notifications. Google has not yet provided any .NET sample code for that scenario. Through trial and error, I created an ASP.NET MVC sample application that handles Google Checkout notifications from the 2.5 API:
http://www.capprime.com/software_development_weblog/2010/11/29/UsingTheGoogleCheckout25APIWithASPNETMVCTheMissingSample.aspx
Those are the only samples I am aware of and I've spent hours searching.
See also: C# example for Google Checkout replies?
Google 提供了代码示例。
http://code.google.com/apis/checkout/samples/Google_Checkout_Sample_Code_NET。 html
Google provides code samples.
http://code.google.com/apis/checkout/samples/Google_Checkout_Sample_Code_NET.html