How to Resolve payment error in website

Can you share the traceback properly (text)?

Under what event/condition does this error occur?

here,
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 114, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/api/init.py”, line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/api/v1.py”, line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 49, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/handler.py”, line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/init.py”, line 1822, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File “apps/frappe/frappe/utils/typing_validations.py”, line 32, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “apps/erpnext/erpnext/accounts/doctype/payment_request/payment_request.py”, line 445, in make_payment_request
frappe.throw(
File “apps/frappe/frappe/init.py”, line 691, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 652, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 603, in _raise_exception
raise exc
frappe.exceptions.ValidationError: Payment Requests cannot be created against: Quotation

When this error get generated?

Are you using any custom app?

[
"Sales Order",
"Purchase Order",
"Sales Invoice",
"Purchase Invoice",
"POS Invoice",
"Fees",
]

Payment Request is allowed only for this DocTypes.