payments.payment - Payment Components

These are the payment tickets.

class waeup.kofa.payments.payment.OnlinePayment[source]

Bases: waeup.kofa.payments.payment.Payment

This is an online payment.

__doc__ = 'This is an online payment.\n '
__implemented__ = <implementedBy waeup.kofa.payments.payment.OnlinePayment>
__init__()[source]
__module__ = 'waeup.kofa.payments.payment'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
ac

Activation Code (computed attribute)

amount_auth

Amount Authorized (computed attribute)

approve()[source]

Approve online payment and set to paid.

creation_date

Ticket Creation Date (computed attribute)

p_category

Payment Category (computed attribute)

p_combi

Combi Payment (computed attribute)

p_item

(computed attribute)

p_option

Payment Option (computed attribute)

p_session

Payment Session (computed attribute)

p_state

Payment State (computed attribute)

payment_date

Payment Date (computed attribute)

r_amount_approved

Response Amount Approved (computed attribute)

r_code

Response Code (computed attribute)

r_desc

Response Description (computed attribute)

class waeup.kofa.payments.payment.Payment[source]

Bases: grokcore.content.components.Container, waeup.kofa.utils.logger.Logger

This is a payment.

__doc__ = 'This is a payment.\n '
__implemented__ = <implementedBy waeup.kofa.payments.payment.Payment>
__init__()[source]
__module__ = 'waeup.kofa.payments.payment'
__provides__

Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker.

For example:

>>> from zope.interface import Interface
>>> class IFooFactory(Interface):
...     pass
>>> class IFoo(Interface):
...     pass
>>> class C(object):
...     implements(IFoo)
...     classProvides(IFooFactory)
>>> [i.getName() for i in C.__provides__]
['IFooFactory']
>>> [i.getName() for i in C().__provides__]
['IFoo']
category
display_item
logger_filename = 'payments.log'
logger_format_str = '"%(asctime)s","%(user)s",%(message)s'
logger_name = 'waeup.kofa.${sitename}.payments'
p_state_title