diefenbach / django-lfs

An online-shop based on Django
http://www.getlfs.com
BSD 3-Clause "New" or "Revised" License
622 stars 222 forks source link

Error where LFS_SEND_ORDER_MAIL_ON_PAYMENT=True #188

Open cellarosi opened 9 years ago

cellarosi commented 9 years ago

In file lfs_paypal/listeners.py in function mark_payment, when LFS_SEND_ORDER_MAIL_ON_PAYMENT=True it calls mail_utils.send_order_received_mail(order).

But that function required 2 parameters and you pass only one to it. So the mail is not sent and the error occurred.

pigletto commented 9 years ago

Please have a look if this https://github.com/diefenbach/lfs-paypal/commit/9ff0e292764943ccf158017d12bbacda8e2174b7 fixes it for you?