diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-11-07 18:15:58 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-11-07 18:15:58 +0100 |
| commit | 3d0ac6643e8a3a3a257f3ba72f63c3852b9a3a3b (patch) | |
| tree | 5693ccab68b46816c0150b80c73f0df096a3b246 /addons/plugin/plugin_handler.py | |
| parent | 420cdb13a2b08528ae9e6622e88f09c74e7d8644 (diff) | |
[IMP] payment_acquirer: continuing base model.
Two main models : payment.acquirer and payment.transaction.
payment.acquirer models the acquirer: paypal, ogone. Each specific
acquirer will inherit from the class and add specific fields.
payment.transaction models the transaction itself. It has basic fields
for a transaction: date, partner, partner fields (to hold data at
transaction time), reference, state and its message, amount, currency.
Class methods are not finished and still quite WIP.
payment.acqurier has a render method that is used to render
its form. The form is the 'pay now' button with the specific
sementic of each acquirer.
This model is supposed to work on form-based and server-to-server
implementation methods.
bzr revid: tde@openerp.com-20131107171558-jrwrj3ll9kol6bav
Diffstat (limited to 'addons/plugin/plugin_handler.py')
0 files changed, 0 insertions, 0 deletions
