Thanks Arek, is all I need to know about it.

cheers,
Isaac

On 09/23/2011 01:36 PM, Arek wrote:
On 23/09/2011 12:21, Isaac wrote:
Hi folks,

I'm finishing an e-commerce site, integrating a payment module. All is going right, except for single thing: Can't find, in provided examples like dummy payment module, where success email is sent. Can anybody tell me where satchmo decides to send that mail?

Thanks in advance

Hi Isaac,

take a look at send_order_confirmation(order, template='shop/email/order_complete.txt') in satchmo_store.shop.notification

email notification uses singnals/listeners definded at satchmo_store.shop.listeners like this:

def start_default_listening():
    ...
signals.order_success.connect(notification.order_success_listener, sender=None)
    ...

cheers,
Arek


--
You received this message because you are subscribed to the Google Groups "Satchmo 
users" 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/satchmo-users?hl=en.

Reply via email to