El 30/12/13 08:22, Christophe (net) ha escrit:
Hi
I continue my tests with Nereid, I got to the payment stage and I'm a
little confused, the module 'nereid_checkout' proposes a method
'_process_payment' but empty and there is a module 'nereid_payment'.
What should I use for this operation?
In the nereid_payment module [1] overrides this function to add payment
capabilities. So you must install the nereid_payment module in order to
process payments from the checkout process. This is definned this way in
order to allow custom modules to override this function call to be able
to implement custom code (extra validations, whateveryou want) in the
payment process.
[1] https://github.com/openlabs/nereid-payment/blob/master/gateway.py#L166
Hope it helps!
--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk