getpaid.googlecheckoutGetpaid google checkout payment functionality Current releaseNo stable release available yet. Project DescriptionThis package contains google checkout payment functionality for the getpaid framework. See src/getpaid/googlecheckout/README.txt for more details. CHANGES0.3 (2008-12-30)
0.2 (2008-08-29)
Detailed DocumentationIntroductionGoogle Checkout integration with GetPaid. StatusWorking integration with Google Checkout using both the Checkout API and the Notification API:
Todo
DemoGoogle provides a sandbox service that can be used to create a working demonstration. BuildoutUse getpaid.buildout to create your own demo of this integration. Uncomment the various googlecheckout variable substitutions throughout buildout.cfg:
${googlecheckout:develop}
${googlecheckout:eggs}
Note - during development, if you're developing locally, make sure to access your site via 127.0.0.1:8080/my-plone-instance instead of localhost:8080/my-plone-instance as the latter is considered an invalid URL by gchecky. Google Merchant AccountCreate a merchant account in the Google Checkout Sandbox service. See step 1 of Getting Started with Google Checkout. Configure the notification handshake for this merchant account. Set the API callback URL and enable checking serial numbers for notification acknowledgments:
GetPaid ConfigurationConfigure the Google Checkout processor in GetPaid with the Merchant ID and Merchant Key for the sandbox. You'll find these in "Settings" -> "Integration" of the Google Checkout Manager. Google Buyer AccountTo put through some test purchases you will need a sandbox buyer account. Google Checkout will not permit you to complete a purchase from your Google Checkout merchant account while logged in with the email address associated with your merchant account. In other words, you cannot buy from yourself, even in sandbox. To create a new sandbox buyer account, visit http://sandbox.google.com/checkout Google AnalyticsIf you want to use this with along with Google Analytics then copy the following snippet to your Plone site by editing "Site Setup" -> "Site Settings" -> "JavaScript for web statistics support":
<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script src="http://checkout.google.com/files/digital/ga_post.js" type="text/javascript"></script>
<script type="text/javascript">
<!--
var pageTracker = _gat._getTracker("UA-XXXXXXX-X");
pageTracker._initData();
pageTracker._trackPageview();
var checkout_forms = cssQuery('form.googlecheckout');
for (var i=0; i < checkout_forms.length; i++) {
checkout_forms[i].onsubmit = function(e) {
setUrchinInputCode(pageTracker);
};
};
//-->
</script>
You will need to replace UA-XXXXXXX-X with your own Google Analytics account number. |
