Skip to main content

PloneGetPaid-PloneFormGen integration

Project description

Overview

PloneGetPaid-PloneFormGen

Link PloneFormGen with PloneGetPaid so a form can add items or donations to the GetPaid shopping cart.

Requirements:

To begin with we need a working Plone instance with PloneGetPaid, PloneFormGen and DataGridField installed.

Install:

There are two ways of installing getpaid.forgen, if you got it as an egg you just easy_install it or fetch it with your buildout or else you can copy the inner formgen from this folder structure to your instance’s /lib/python/getpaid. After that you will see PloneGetPaid-PloneFormGen in your plone control pannel addon product section (you may see two, install whichever you want, they are the same thing). After hitting install you are done, now whenever you create a FormGen folder you will have as available content types a “GetPaid Adapter” which creates the required folders for a GetPaid checkout and allows you to map any GetPaid product on the site to a field on your form.

A few remarks:

  • If you are using other adapters (such as salesforce one) please make sure to edit and save (even without changes) this one last, because it adds a clause to all other present adapters so they execute after it, this avoids comitting data of an order that can be rejected.

  • Make sure to remove the default mail adapter from the FormgenForm or you could end up sending sensible data by mail by accident.

CHANGES

0.2.7 (2009-07-22)

  • Add contact information to default mail [larubbio]

  • Switch from oneshot cart to multishot. [larubbio]

  • Update mailer so it works with single page checkout [larubbio]

0.2.6 (2009-07-07)

  • Add shipping organization to the email [larubbio]

0.2.5 (2009-07-07)

  • Expose shipping and billing names to the email template

  • Expose organization to the email template

  • update the default email template

0.2.4 (2009-05-27)

  • Expose shipping service, method and weight to email template. [larubbio]

  • Add a boolean config that tells getpaid to return to the form if the user hits ‘Continue Shopping’ [larubbio]

0.2.3 (2009-05-19)

  • Expose shipping information in default mail template [larubbio]

0.2.2 (2009-05-19)

  • Fix a two phase commit bug when used with a ZODB mount point

  • Catch any exceptions that might happen when sending email.

0.2.1 (2009-05-13)

  • Fix a bug where field mapping for fields in fieldsets fails to work

  • Fix a bug were the adapter attempts to move itself to the front of the adapters list but fails

0.2 (2009-05-12)

  • Add adapter that collects formgen fields and getpaid fields and emails them following successful charge.

0.1 (2009-03-13)

  • removed the package info that shouldn’t be under svn [lucielejard]

  • moved setup.py at the same level as src, and updated the link to files in it,

  • fixed typo (Conutry -> Country) [mcgruff.scruff]

  • explicitly including meta.zcml (uncommitted change from hg tarball)

  • spacing cleanup (uncommitted change from hg tarball)

  • post-migration cleanup. [mcgruff.scruff] These files were brought in from a Mercurial tarball (provided by David Glick) using Tailor with the following configuration:

[tailor]
verbose = True
source = hg:
target = svn:
start-revision = 14
root-directory = ~/Desktop/getpaid.formgen
encoding = UTF-8
[hg:tailor]
repository = ~/Desktop/getpaid.formgen
[svn:tailor]
repository = https://getpaid.googlecode.com/svn
module = getpaid.formgen/trunk/src
  • Also, I removed all .pyc files before migration with:

find . -type f -name "*.pyc" -exec rm -f {} \;
  • ripped out perrito’s unnecessary action adapter blocking PFG already handles that if you return an error value

  • misc cleanup: fixed imports, removed pdbs, resuscitated test infrastructure

  • Added remarks about usage

  • pumped some info into the readme file

  • Added support to run other adapters before doing one page checkout redirection to thank you page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

getpaid.formgen-0.2.7.tar.gz (37.7 kB view details)

Uploaded Source

File details

Details for the file getpaid.formgen-0.2.7.tar.gz.

File metadata

File hashes

Hashes for getpaid.formgen-0.2.7.tar.gz
Algorithm Hash digest
SHA256 bc0fc2951253d1bdb90d3be9dc4a0f112ce9e9739a144d3de62f85c8b4eb03b6
MD5 f1e8a1e59201d761fbfd4ee231fd9679
BLAKE2b-256 cdcaa3039fef077ce780b7a80f2233a737adc6dc357694c72cff573477ce31a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page