Question

I am looking for sample .Net code to handle the order processing from google checkout. I will be using the HTML Api as it does not require SSL. I found this Custom Order Processing Tutorial but it is using Java. I eventually want to use Google Subscriptions and I am hoping that a sample Order processing code would give me enough information to complete my Google subscription integration.

EDIT

Is there an open source end to end solution which implements Google Checkout subscription and order processing using .Net? I am hoping that I can implement my own by looking at an example. I have a very simple task, google button click goes to google checkout, customer pays for subscription that is charged a monthly amount. Google sends a response or notification which my system processes and updates my database.

Was it helpful?

Solution

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?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top