Kyle,    You should be able to add a decimal field to your form, and then
map that field using the payables mapping.  Once you do that, the value in
the field will be the amount the user donates.  Then you can disable the
portlets since the interface to donations will be handled by the formgen
form.

Also what version of getpaid are you using?

-Rob

On Tue, Jul 28, 2009 at 4:11 PM, Kyle Cronan <[email protected]> wrote:

>
> Hi everyone,
>
> I just added GetPaid to my plone buildout and I'm trying to set it up
> with the authorize.net processor.  I used PloneFormGen and the GetPaid
> adapter to create a donation form for www.openict.org/donate.  I made
> that page a variable amount donation, but when I click on the donate
> button I get this error.  Can anyone help me debug this?
>
> Also, is there any way I can move the amount field for the variable
> amount donation onto the donation form itself (perhaps by adding a
> field to the form and then using the payable mappings in the GetPaid
> adapter for PFG)?  I would prefer to disable the GetPaid portlets and
> simply make a link to the single-page donation form.  This will allow
> me to have a consistent user experience: as you can see at
> www.openict.org/donate,
> I already have a button for PayPal donations and I would like the user
> to be able to choose between the two options in a way that's not too
> confusing.
>
> Thanks for your help!
> Kyle Cronan
> <[email protected]>
>
>
> 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'')
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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