You are here: Home / Users / Eric Jahn / stories / How to install GetPaid .6.2 (with Google Checkout) with Plone 3.1.6

How to install GetPaid .6.2 (with Google Checkout) with Plone 3.1.6

(standalone rootless install in unprivileged user home directory)

Install Plone 3.1.6

Get the newest stable Plone

cd ~
wget http://launchpad.net/plone/3.1/3.1.6/+download/Plone-3.1.6-r2-UnifiedInstaller.tgz

Unpack it:

tar xvfz Plone-3.1.6-r2-UnifiedInstaller.tgz

Start up the Plone installer in standalone mode

cd Plone-3.1.6-r2-UnifiedInstaller 
./install.sh standalone

Install dependencies for Getpaid using buildout

modify your buildout.cfg file so it looks like this:

[buildout]

eggs-directory=/home/eric/Plone-3.1/buildout-cache/eggs

download-cache=/home/eric/Plone-3.1/buildout-cache/downloads

newest = false

parts =

    plone

    zope2

    productdistros

    instance

    zopepy

    precompile

    chown

    unifiedinstaller


# Add additional egg download sources here. dist.plone.org contains archives

# of Plone packages.

find-links =

    http://dist.plone.org

    http://download.zope.org/ppix/

    http://download.zope.org/distribution/

    http://effbot.org/downloads

   

# Add additional eggs here

# elementtree is required by Plone

eggs =

    elementtree

    FeedParser

    simplejson

    dateutil

    zc.ssl

       

# Reference any eggs you are developing here, one per line

# e.g.: develop = src/my.package

develop =


[plone]

recipe = plone.recipe.plone >=3.1.1, < 3.2dev


[zope2]

recipe = plone.recipe.zope2install

url = ${plone:zope2-url}


# Use this section to download additional old-style products.

# List any number of URLs for product tarballs under URLs (separate

# with whitespace, or break over several lines, with subsequent lines

# indented). If any archives contain several products inside a top-level

# directory, list the archive file name (i.e. the last part of the URL,

# normally with a .tar.gz suffix or similar) under 'nested-packages'.

# If any archives extract to a product directory with a version suffix, list

# the archive name under 'version-suffix-packages'.

[productdistros]

recipe = plone.recipe.distros

urls =

nested-packages =

version-suffix-packages =

 

Then, run "./bin/buildout -n" to load all the getpaid dependencies

.

 

 Install GetPaid 0.6.2

Get the latest GetPaid

wget http://getpaid.googlecode.com/files/PloneGetPaid-bundle-0.6.2.tar.gz

Unpack it:

tar xvfz PloneGetPaid-bundle-0.6.2.tar.gz

Move the GetPaid libs into the new Plone install

cp -r ~/PloneGetPaid-bundle/lib/python/* ~/Plone-3.1/zinstance/parts/zope2/lib/python/

Move the GetPaid product into the new Plone install

cp -r ~/PloneGetPaid-bundle/Products/* ~/Plone-3.1/zinstance/parts/instance/Products/

 

Start up your new Plone:

 

~/Plone-3.1/zinstance/bin/zopectl start

 

Go to Site Setup, and add and configure the GetPaid for Google Checkout, which is the only 3rd party payment processor that works for me for 0.6.2, though I want PayPal.

Congratulations, now yer gettin' paid 0.6.2-style!