fix
This commit is contained in:
@@ -1341,6 +1341,33 @@ def handle_send_email_transaction(
|
||||
|
||||
return 1
|
||||
|
||||
@app.task
|
||||
def handle_send_email_transaction_notification(
|
||||
username, useremail, amount, additional_text, **kwargs):
|
||||
|
||||
if 'debug' in kwargs: # pragma: no cover
|
||||
debug = kwargs['debug']
|
||||
else:
|
||||
debug = True
|
||||
|
||||
subject = "Rowsandall Payment Confirmation"
|
||||
|
||||
from_email = 'Rowsandall <admin@rowsandall.com>'
|
||||
|
||||
d = {
|
||||
'name': username,
|
||||
'siteurl': siteurl,
|
||||
'amount': amount,
|
||||
'reason':additional_text,
|
||||
}
|
||||
|
||||
res = send_template_email(from_email,['support@rowsandall.com'],
|
||||
subject,
|
||||
'instantplansold.html',
|
||||
d, **kwargs)
|
||||
|
||||
return 1
|
||||
|
||||
@app.task
|
||||
def handle_send_email_failed_cancel(
|
||||
name, email, username, id, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user