the decor :
1)
a minimal buildout.cfg with
zcml =
    getpaid.ogone
    getpaid.ogone-overrides

[getpaid]
recipe=getpaid.recipe.release
addpackages=
    getpaid.flatrateshipping
    getpaid.ogone

plus Products.Clouseau
2) new Plone site, install PlonegetPaid
3)
 - set FlatRateShipping  as a Shipping Method in
@@manage-getpaid-shipping-methods
 - any processor in @@manage-getpaid-payment-options Test or Ogone
4)  make shippable the front-page
---------
the drama :
open a Python prompt

from zope import component
from getpaid.core import interfaces
from getpaid.flatrateshipping.interfaces import IFlatRateShippingSettings

ccte = component.getAdapter(IFlatRateShippingSettings)
>>>
<Products.PloneGetPaid.payment.CreditCardTypeEnumerator object at 0xe4caacc>

ccte.acceptedCreditCardTypes
>>      
<bound method CreditCardTypeEnumerator.acceptedCreditCardTypes of
<Products.PloneGetPaid.payment.CreditCardTypeEnumerator object at
0xf014f6c>>

the end :

ccte.acceptedCreditCardTypes ()

>>  File 
>> "/home/dan/Plone0/buildout-cache/eggs/Products.PloneGetPaid-0.7.5-py2.4.egg/Products/PloneGetPaid/payment.py",
>>  line 15, in acceptedCreditCardTypes
    portal = getToolByName(self.context.context,
'portal_url').getPortalObject()
AttributeError: 'InterfaceClass' object has no attribute 'context'

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