Question

Possible Duplicate:
C# and Google Checkout - getting the reply back from the server?

Sorry for the re-post but this question seems to be a bit of a "white whale" for me. I simply can't find any C# examples of how to handle the transaction reply from Google Checkout:

Are there any tutorials out there on how to get the responses back from a Google Checkout transaction when using C# and the GCheckout API? All of the examples I could find were for previous versions of the API and not the current one (2.5). More specifically, I'd like to see an example reply of what Google will post back to me without an HTTPS connection. I know it's minimal data, but I'd still like to see an example of it and see how others are parsing it.

Was it helpful?

Solution

I wanted this Google API version 2.5 .NET sample code for a long time and finally built it myself:

http://www.capprime.com/software_development_weblog/2010/11/29/UsingTheGoogleCheckout25APIWithASPNETMVCTheMissingSample.aspx

If you need classic WebForms instead of MVC, let me know.

I didn't include samples of what the packets look like, because honestly, it doesn't matter (the API is supposed to wrap the packets). It's not a lot of work to modify the sample in a couple of places and have it send you an e-mail with that data.

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