Version 6.x.x Source

Table Name: tabPayment Request

Fields

Sr Fieldname Type Label Options
1 payment_details Section Break Payment Details
2 amount Currency Amount
3 currency Link Currency Currency
4 make_sales_invoice Check Make Sales Invoice
5 column_break_5 Column Break
6 status Select Status
Draft
Initiated
Paid
Failed
Cancelled
7 section_break_7 Section Break
8 payment_gateway Link Payment Gateway Payment Gateway Account
9 payment_success_url Data Payment Success URL
10 column_break_9 Column Break
11 gateway Read Only Gateway
payment_gateway.gateway
12 payment_account Read Only Payment Account
payment_gateway.payment_account
13 recipient_and_message Section Break Recipient and Message
14 print_format Select Print Format
15 mute_email Check Mute Email
16 email_to Data Email To
17 subject Data Subject
18 message Text Editor Message
19 payment_url_message Data Payment URL Message
20 payment_url Data payment_url
21 reference_details Section Break Reference Details
22 reference_doctype Link Reference Doctype DocType
23 reference_name Dynamic Link Reference Name
reference_doctype
24 amended_from Link Amended From Payment Request

Controller

erpnext.accounts.doctype.payment_request.payment_request

Class PaymentRequest

Inherits from frappe.model.document.Document

create_journal_entry (self)

create entry


get_message (self)

return message with payment gateway link


get_payment_success_url (self)

No docs


get_payment_url (self)

No docs


make_communication_entry (self)

Make communication entry


make_invoice (self)

No docs


on_cancel (self)

No docs


on_submit (self)

No docs


on_update_after_submit (self)

No docs


send_email (self)

send email with payment link


send_payment_request (self)

No docs


set_as_cancelled (self)

No docs


set_as_paid (self)

No docs


set_failed (self)

No docs


set_status (self)

No docs


validate (self)

No docs


validate_currency (self)

No docs


validate_payment_gateway (self)

No docs


validate_payment_gateway_account (self)

No docs


validate_payment_request (self)

No docs



Public API
/api/method/erpnext.accounts.doctype.payment_request.payment_request.generate_payment_request

erpnext.accounts.doctype.payment_request.payment_request.generate_payment_request (name)

No docs


erpnext.accounts.doctype.payment_request.payment_request.get_amount (ref_doc, dt)

get amount based on doctype


erpnext.accounts.doctype.payment_request.payment_request.get_gateway_details (args)

return gateway and payment account of default payment gateway


Public API
/api/method/erpnext.accounts.doctype.payment_request.payment_request.get_print_format_list

erpnext.accounts.doctype.payment_request.payment_request.get_print_format_list (ref_doctype)

No docs


Public API
/api/method/erpnext.accounts.doctype.payment_request.payment_request.make_payment_request

erpnext.accounts.doctype.payment_request.payment_request.make_payment_request ()

Make payment request


Public API
/api/method/erpnext.accounts.doctype.payment_request.payment_request.resend_payment_email

erpnext.accounts.doctype.payment_request.payment_request.resend_payment_email (docname)

No docs


Linked In: