Skip to content

Commit

Permalink
Updating the get_payment_gateway_url method
Browse files Browse the repository at this point in the history
This change is proposed as on_payment_authorized method defined in any doctype for which the payment is made isn't getting triggered.

frappe#12756
  • Loading branch information
harshpwctech committed Dec 23, 2021
1 parent d1e229d commit af4ee65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frappe/website/doctype/web_form/web_form.py
Expand Up @@ -216,8 +216,8 @@ def get_payment_gateway_url(self, doc):
"amount": amount,
"title": title,
"description": title,
"reference_doctype": "Web Form",
"reference_docname": self.name,
"reference_doctype": doc.doctype,
"reference_docname": doc.name,
"payer_email": frappe.session.user,
"payer_name": frappe.utils.get_fullname(frappe.session.user),
"order_id": doc.name,
Expand Down

0 comments on commit af4ee65

Please sign in to comment.