Commits

Chris Moffitt  committed e48cf15

Fixed a bug in the auto success module.

  • Participants
  • Parent commits a133281

Comments (0)

Files changed (1)

File satchmo/payment/modules/autosuccess/views.py

         subject = "Thank you for your order from %s" % shop_name
              
         try:
-            email = orderToProcess.contact.email
+            email = newOrder.contact.email
             body = t.render(c)
             send_mail(subject, body, shop_email,
                       [email], fail_silently=False)