{"id":2099,"date":"2011-12-29T20:09:26","date_gmt":"2011-12-30T04:09:26","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=2099"},"modified":"2014-03-01T22:34:01","modified_gmt":"2014-03-02T06:34:01","slug":"google-checkout-integration-with-dap","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/google-checkout-integration-with-dap\/","title":{"rendered":"Google Checkout Integration with DAP"},"content":{"rendered":"<p>1) Update DAP <strong>Setup &gt; Config -&gt; Secret Authorization Key<\/strong> to be&#8230;<\/p>\n<blockquote><p><strong>YourGCmerchant_id|YourGCmerchant_key<\/strong><\/p><\/blockquote>\n<p>2) Point the Google Checkout IPN handler to<\/p>\n<blockquote><p><strong>http:\/\/yoursite.com\/dap\/dap-gc-responsehandler.php<\/strong><\/p><\/blockquote>\n<p>(replace yoursite.com with the name of your site).<\/p>\n<p>3) Create a DAP product and make sure the item name that your <strong>GC Item Name<\/strong> <em>exactly matches<\/em> the <strong>DAP Product Name<\/strong>.<\/p>\n<p>That&#8217;s it!<\/p>\n<p><strong>NOTE<\/strong><\/p>\n<p>You will find a file by name <strong>dap-gc-responsehandler.php<\/strong> in your dap folder.<\/p>\n<p>Use this file as is, with no changes, during testing. Nothing to change.<\/p>\n<p>But once you&#8217;re ready to go live, open the file, and find the line below:<br \/>\n$server_type = &#8220;&#8216;sandbox&#8221;;<\/p>\n<p>And change it to:<br \/>\n$server_type = &#8220;&#8216;production&#8221;;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1) Update DAP Setup &gt; Config -&gt; Secret Authorization Key to be&#8230; YourGCmerchant_id|YourGCmerchant_key 2) Point the Google Checkout IPN handler to http:\/\/yoursite.com\/dap\/dap-gc-responsehandler.php (replace yoursite.com with the name of your site). 3) Create a DAP product and make sure the item name that your GC Item Name exactly matches the DAP Product Name. That&#8217;s it! NOTE [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[60,106,24,30,26],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2099"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=2099"}],"version-history":[{"count":14,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2099\/revisions"}],"predecessor-version":[{"id":4208,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2099\/revisions\/4208"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=2099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=2099"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=2099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}