Getpaid google checkout payment functionality
This package contains google checkout payment functionality for the getpaid framework.
See src/getpaid/googlecheckout/README.txt for more details.
Google Checkout integration with GetPaid.
Working integration with Google Checkout using both the Checkout API and the Notification API:
Google provides a sandbox service that can be used to create a working demonstration.
Use getpaid.buildout to create your own demo of this integration. Uncomment the various googlecheckout variable substitutions throughout buildout.cfg:
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.
Create 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:
Log in to your merchant account.
Click on the Settings tab.
Click the Integration link on the left side of the page.
Make sure “My company will only post digitally signed carts.” is checked.
Enter a URL for the notification callback for your site into API callback URL. This will look something like:
And select “XML” for the “Callback method”.
(This URL can be HTTP for merchant accounts created in the sandbox service. However needs to be HTTPS with suitable certificate for production.)
Expand the list of advanced settings and check the box next to the setting that says, “Require notification acknowledgments to specify the serial number of the notification.”
Click the Save button to update your settings.
Configure 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.
To 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
You will need to replace UA-XXXXXXX-X with your own Google Analytics account number.