<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://v900u039rux.maximumasp.com/Web/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Raheel Hussain : Google Checkout</title><link>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Google+Checkout/default.aspx</link><description>Tags: Google Checkout</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP2 (Build: 20611.960)</generator><item><title>ASP.NET with Google Checkout - Part 1</title><link>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/2008/01/15/asp-net-with-google-checkout.aspx</link><pubDate>Tue, 15 Jan 2008 05:45:00 GMT</pubDate><guid isPermaLink="false">3790bee0-d05b-4b84-a272-3ed522a0473a:148</guid><dc:creator>Raheel Hussain</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://v900u039rux.maximumasp.com/Web/blogs/raheel/rsscomments.aspx?PostID=148</wfw:commentRss><comments>http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/2008/01/15/asp-net-with-google-checkout.aspx#comments</comments><description>&lt;p&gt;Google Checkout is a fast and easy&amp;nbsp;solution for online Buyers and Sellers, and getting popular vert fast.&lt;br /&gt;&lt;br /&gt;Recently, I had a chance to integrate the google checkout with one of&amp;nbsp;a website I developped.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The site&amp;nbsp;is already integrated with the&amp;nbsp;Local Mashreq Bank Merchant Account of UAE, for local UAE sales. &lt;/p&gt;
&lt;p&gt;The sales for the international customers however, became a bit issue because of conversion from EURO/GBP/USD$ wasn&amp;#39;t the good option at&amp;nbsp;all and caused a drop in sales.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This led them to think of a solution which would encompass both local as well as international market sales. It was fun as well as a good exposure for me. &lt;br /&gt;&lt;br /&gt;You can Visit : &lt;a href="http://www.1boxoffice.com/"&gt;http://www.1boxoffice.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I thought to state down what i&amp;#39;ve experienced and learnt&amp;nbsp;with it, to help out other developers going to do the same in future. &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;How Google Checkout Works&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Google checkout has&amp;nbsp;following different distinct ways of integration&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Third-party e-Commerce Provider -&amp;nbsp;i.e. 3rd Party Shopping Carts&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;A Simple HTML code for Non-eCommers Plateforms&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Google Supported e-Commerce Providers&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Customized e-Commerce Plateform i.e. Microsoft Commerce Server, IBM Websphere, (&lt;em&gt;or may be your own custom made Shopping cart)&lt;/em&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Sending Invoices through Email.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;br /&gt;I&amp;#39;m&amp;nbsp;not going to cover all the options, since the site I did best fits with option #4, which is &lt;u&gt;&lt;strong&gt;&lt;em&gt;A Customized e-Commerce Plateform.&lt;/em&gt;&lt;/strong&gt;&lt;/u&gt; &lt;br /&gt;I Shoping Cart on the site was custom developped by me.&lt;/p&gt;
&lt;p&gt;Under this option, Google provides two different set of APIs&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Google Checkout&amp;nbsp;HTML API&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Google Checkout XML Developer API &lt;br /&gt;with Order Processing, Order Notification, and Merchant Calculation&amp;nbsp;separate APIs respectively&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Since, I had to implement the Order Processing as well as the Order notifications, I chose Option-Two the XML API method.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note: &lt;/strong&gt;&lt;br /&gt;The HTML way is even simpler, as this method includes the form hidden variables which are to be posted to the Google Payment Server view the Form Post method. The HTML API is limitted in a way that this is only a one-way integration with Google Checkout system, while comparing with the XML API, it provides a veriety of different tracking and integration options ... discussed below. &lt;br /&gt;&lt;br /&gt;You can findout details from the following URL : &lt;br /&gt;&lt;a href="http://code.google.com/apis/checkout/developer/google_checkout_html_api.html"&gt;http://code.google.com/apis/checkout/developer/google_checkout_html_api.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Google Checkout XML Developer API&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Google checkout API consist of the following&amp;nbsp;separate sets of APIs.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Checkout API&lt;/strong&gt; - You can send the Shopping Cart Details to the Google System, additionally you can send discounts, VAT, Shipping Charges etc.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Merchant Calculation API&lt;/strong&gt; - This means that you provide your order calculation rules to Google for the order,&amp;nbsp;and to implement this API, you must create a web service that calculates these values.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Notification API&lt;/strong&gt; - By implementing this, your system (website admin) will get notified with, Payment approved/disapproved, order processed/shipped and the customer information such as billing telephone, address etc.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&lt;strong&gt;Order Processing API&lt;/strong&gt; - lets you integrate Google Checkout with your internal order processing systems by allowing those systems to automatically send updated order information to Google.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Further details could be foundout through the following URL.&lt;br /&gt;&lt;a href="http://code.google.com/apis/checkout/developer/index.html"&gt;http://code.google.com/apis/checkout/developer/index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note: &lt;br /&gt;&lt;/strong&gt;When you sign up for a Google Merchant Account, you are given two options for either signing up for a &lt;strong&gt;&lt;em&gt;&lt;u&gt;Sandbox Account&lt;/u&gt; , &lt;/em&gt;&lt;/strong&gt;which is basically a &lt;u&gt;&lt;strong&gt;&lt;em&gt;Test Account&lt;/em&gt;&lt;/strong&gt;&lt;/u&gt;, and allows you to experiment your code in the &lt;em&gt;&lt;u&gt;&lt;strong&gt;Test Environment&lt;/strong&gt;&lt;/u&gt;&lt;/em&gt;, as well as the &lt;em&gt;&lt;u&gt;&lt;strong&gt;Production Account&lt;/strong&gt;&lt;/u&gt;&lt;/em&gt;, which you&amp;#39;ll have after you go Live with Google Checkout.&lt;/p&gt;
&lt;p&gt;Hope that this information was good enough to give a quick general overview Google Checkout API.&lt;/p&gt;
&lt;p&gt;My next post, I&amp;#39;m going to write about the steps which you&amp;#39;ve to perform to enable google Checkout in your application. &lt;/p&gt;
&lt;p&gt;Happy Coding ........................&lt;/p&gt;&lt;img src="http://v900u039rux.maximumasp.com/Web/aggbug.aspx?PostID=148" width="1" height="1"&gt;</description><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://v900u039rux.maximumasp.com/Web/blogs/raheel/archive/tags/Google+Checkout/default.aspx">Google Checkout</category></item></channel></rss>