Send e-mails on order completion (#27)

This commit is contained in:
Raphael Michel
2015-04-01 10:30:07 +02:00
parent 8a81d4859d
commit 16244bd69c
9 changed files with 105 additions and 2 deletions

View File

@@ -248,6 +248,16 @@ class BasePaymentProvider:
"""
return None
def order_pending_mail_render(self, order: Order) -> str:
"""
After the user submitted his order, he or she will receive a confirmation
e-mail. You can return a string from this method if you want to add additional
information to this e-mail.
:param order: The order object
"""
return ""
def order_pending_render(self, request: HttpRequest, order: Order) -> str:
"""
If the user visits a detail page of an order which has not yet been paid but