← Back to team overview

openerp-connector-community team mailing list archive

Re: magento and payment fees

 

On 10/22/2013 01:13 PM, Davide Corio wrote:
Hi,
are the payment fees already managed?
i mean cash on delivery fee or similars.

i noticed that's not imported by the magento connector.

cheers,

Hi,

That's still to implement [0]:

    @mapping
    def cod_fee(self, record): # cash on delivery
        # TODO Map Me (sic)
        pass

I think that's just a matter of extracting the fee, like it is done for 'gift_cert_amount' and write a test for that.

[0] https://bazaar.launchpad.net/~openerp-connector-core-editors/openerp-connector/7.0-magentoerpconnect/view/head:/magentoerpconnect/sale.py#L668

See you

--
Guewen Baconnier
Business Solutions Software Developer

Camptocamp SA
PSE A, CH-1015 Lausanne
Phone: +41 21 619 10 39
Office: +41 21 619 10 10
http://www.camptocamp.com/


Follow ups

References