Okay I did that and it worked, but I'm getting the exact same error.
I think maybe I'm just not understanding how this is supposed to work.

I followed your earlier advice and added a decimal field for the
amount and linked this to the payable.  I can submit the form and I
got it to the point where it's connecting to the processor and my card
is declined (haven't looked into that yet).  So that's good: this is
how I want the donations to work anyway, you just go right to the
form.

But what about when I get to the point where I have actual products to
sell and I want to do the usual shopping cart thing?  Is this error
I'm seeing when I click the portlet button (even with my new payables
mapping) an actual bug due to my buildout quirks, or am I just
configuring it wrong?

Can you explain how the payables mappings work?  What if I wanted the
form to purchase something that was a fixed amount- which field would
I map to the fixed-amount payable?  When you checkout your shopping
cart, does it use some built-in form or could I have that go to a PFG
form as well?  Sorry if this is documented elsewhere but I couldn't
find anything about it.

Thanks,
Kyle


On Thu, Jul 30, 2009 at 7:50 PM, Rob LaRubbio<[email protected]> wrote:
> Can you try to explicitly ask for the most recent version?  Set your
> buildout to look like this:
>
> getpaid]
> recipe = getpaid.recipe.release==1.7
>
> addpackages =
>     getpaid.authorizedotnet
>     getpaid.formgen
>     getpaid.discount
>     getpaid.flatrateshipping
>
> then in that same directory delete the file called .installed and re run
> buildout with -Nv as arguments.  Save the output from the command.  If it
> still doesn't work send me the output and the error.
>
> -Rob
>
> On Thu, Jul 30, 2009 at 5:12 PM, Kyle Cronan <[email protected]> wrote:
>>
>> Anyone have any thoughts on this error I'm seeing?  (copied again
>> below)  I've looked at the code but I just don't know enough about how
>> Plone works to debug it.  Reinstalling GetPaid / manually reimporting
>> the setup steps doesn't fix it.
>>
>> Any help would really be appreciated.  It's for a good cause!  I'm
>> trying to set up donations by credit card for a nonprofit
>> organization.
>>
>> Thanks,
>> Kyle
>>
>> Traceback (innermost last):
>>  Module ZPublisher.Publish, line 119, in publish
>>  Module ZPublisher.mapply, line 88, in mapply
>>  Module ZPublisher.Publish, line 42, in call_object
>>  Module Products.PloneGetPaid.browser.cart, line 74, in __call__
>>  Module Products.PloneGetPaid.browser.cart, line 79, in addToCart
>>  Module zope.component._api, line 104, in getMultiAdapter
>> ComponentLookupError: ((<getpaid.core.cart.ShoppingCart object at
>> 0xb5b833ac>, <ATFolder at /openictfoundation/donate>), <InterfaceClass
>> getpaid.core.interfaces.ILineItemFactory>, u'')
>>
>> fyi, likely cause: "I had to use the -N argument to buildout when I
>> added the stuff for GetPaid, starting from a working site that was
>> created in November of last year." (see below)
>>
>>
>> On Tue, Jul 28, 2009 at 11:34 PM, Kyle Cronan<[email protected]> wrote:
>> > Oh crud, I forgot there is a password in there.  That is no longer my
>> > admin password. :)
>> >
>> > Kyle
>> >
>> >
>> > On Tue, Jul 28, 2009 at 11:29 PM, Kyle Cronan<[email protected]> wrote:
>> >> Yes, here is the buildout.cfg.  I use a number of different add-ons
>> >> for my site, so perhaps there is some sort of conflict.  I had to use
>> >> the -N argument to buildout when I added the stuff for GetPaid,
>> >> starting from a working site that was created in November of last
>> >> year.  When I didn't do that I ran into problems with various updates
>> >> to the core packages causing problems with quills and
>> >> collective.dancing: I eventually managed to get the buildout to
>> >> complete and the zope instance to start, but when I went to the site I
>> >> got a "no traversable adapter" error.  So I restored my site from
>> >> backup and used the following config with buildout -N.
>> >>
>> >> Thanks,
>> >> Kyle
>> >>
>> >> [buildout]
>> >> parts =
>> >>    plone
>> >>    zope2
>> >>    productdistros
>> >>    instance
>> >>    zopepy
>> >>    securemaildrop
>> >>    getpaid
>> >>
>> >> unzip = true
>> >>
>> >> # 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
>> >>    http://dist.repoze.org
>> >>
>> >> # Add additional eggs here
>> >> # elementtree is required by Plone
>> >> eggs =
>> >>    elementtree
>> >>    Products.membrane
>> >>    Products.remember
>> >>    plone.mail
>> >>    listen
>> >>    PIL
>> >>
>> >> # Reference any eggs you are developing here, one per line
>> >> # e.g.: develop = src/my.package
>> >> develop =
>> >>    src/Products.membrane
>> >>    src/Products.remember
>> >>    src/plone.mail
>> >>    src/Products.listen
>> >>
>> >> download-cache = /home/kyle/openict/downloads
>> >> download-directory = /home/kyle/openict/downloads
>> >>
>> >> [plone]
>> >> recipe = plone.recipe.plone>=3.1.1,<3.2dev
>> >>
>> >> [getpaid]
>> >> recipe = getpaid.recipe.release
>> >>
>> >> addpackages =
>> >>    getpaid.authorizedotnet
>> >>    getpaid.formgen
>> >>    getpaid.flatrateshipping
>> >>    getpaid.discount
>> >>
>> >> [zope2]
>> >> recipe = plone.recipe.zope2install
>> >> url = ${plone:zope2-url}
>> >>
>> >> fake-zope-eggs = true
>> >> additional-fake-eggs = ZODB3
>> >> skip-fake-eggs =
>> >>    zope.testing
>> >>    zope.component
>> >>    zope.i18n
>> >>    zope.sendmail
>> >>
>> >> # 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 =
>> >>
>> >>  http://www.zope.org/Members/shh/DocFinderTab/1.0.2/DocFinderTab-1.0.2.tar.gz
>> >>
>> >>  http://www.zope.org/Products/GenericSetup/GenericSetup-1.4.1/GenericSetup-1.4.1.tar.gz
>> >> nested-packages =
>> >> version-suffix-packages =
>> >>
>> >> [securemaildrop]
>> >> recipe = topp.recipes.securemaildrop
>> >> smtp_host = localhost
>> >> smtp_port = 25
>> >> url =
>> >> http://www.dataflake.org/software/maildrophost/maildrophost_1.20/MaildropHost-1.20.tgz
>> >>
>> >> [instance]
>> >> recipe = plone.recipe.zope2instance
>> >> zope2-location = ${zope2:location}
>> >> user = admin:br4Atla
>> >> http-address = 9239
>> >> effective-user = kyle
>> >> #debug-mode = on
>> >> #verbose-security = on
>> >>
>> >> # If you want Zope to know about any additional eggs, list them here.
>> >> # This should include any development eggs you listed in develop-eggs
>> >> above,
>> >> # e.g. eggs = ${buildout:eggs} ${plone:eggs} my.package
>> >> eggs =
>> >>    ${buildout:eggs}
>> >>    ${plone:eggs}
>> >>    collective.dancing
>> >>    Products.QuillsEnabled
>> >>    Products.SecureMaildropHost
>> >>    collective.portlet.feedmixer
>> >>    ${getpaid:eggs}
>> >>
>> >> # If you want to register ZCML slugs for any packages, list them here.
>> >> # e.g. zcml = my.package my.other.package
>> >> zcml =
>> >>    collective.dancing
>> >>    collective.portlet.feedmixer
>> >>
>> >> products =
>> >>    ${buildout:directory}/products
>> >>    ${productdistros:location}
>> >>    ${buildout:parts-directory}/securemaildrop
>> >>    ${plone:products}
>> >>
>> >> [zopepy]
>> >> recipe = zc.recipe.egg
>> >> eggs = ${instance:eggs}
>> >> interpreter = zopepy
>> >> extra-paths = ${zope2:location}/lib/python
>> >> scripts = zopepy
>> >>
>> >
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"getpaid-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to