|
- # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
- # See license.txt
-
- import frappe
- no_cache = True
-
- def get_context(context):
- token = frappe.local.form_dict.token
- doc = frappe.get_doc(frappe.local.form_dict.doctype, frappe.local.form_dict.docname)
-
- context.payment_message = ''
- if hasattr(doc, 'get_payment_success_message'):
- context.payment_message = doc.get_payment_success_message()
|