Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, 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 71, in execute_cmd
return run_server_script(server_script)
File "apps/frappe/frappe/handler.py", line 89, in run_server_script
response = frappe.get_doc("Server Script", server_script).execute_method()
File "apps/frappe/frappe/core/doctype/server_script/server_script.py", line 150, in execute_method
return execute_api_server_script(self)
File "apps/frappe/frappe/core/doctype/server_script/server_script.py", line 286, in execute_api_server_script
_globals, _locals = safe_exec(script.script, script_filename=script.name)
File "apps/frappe/frappe/utils/safe_exec.py", line 101, in safe_exec
exec(
File "<serverscript>: confirmpayment", line 15, in <module>
ValueError: invalid literal for int() with base 10: '250.24'
Can't confirm payment with decimal amount.
--
App Versions
Route
Traceback
Request Data
Response Data