Hello guys
I need help to fix Paystack Settings server error. below is the error
Traceback (most recent call last):
File “apps/frappe/frappe/integrations/utils.py”, line 70, in get_payment_gateway_controller
return frappe.get_doc(“{0} Settings”.format(payment_gateway))
File “apps/frappe/frappe/init.py”, line 886, in get_doc
doc = frappe.model.document.get_doc(*args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 75, in get_doc
return controller(*args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 113, in init
self.load_from_db()
File “apps/frappe/frappe/model/document.py”, line 156, in load_from_db
frappe.throw((“{0} {1} not found”).format((self.doctype), self.name), frappe.DoesNotExistError)
File “apps/frappe/frappe/init.py”, line 439, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’, is_minimizable=is_minimizable, wide=wide, as_list=as_list)
File “apps/frappe/frappe/init.py”, line 418, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 372, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.DoesNotExistError: Paystack Settings Paystack Settings not found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 68, in application
response = frappe.api.handle()
File “apps/frappe/frappe/api.py”, line 55, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 31, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/handler.py”, line 67, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “apps/frappe/frappe/init.py”, line 1208, in call
return fn(*args, **newargs)
File “apps/erpnext/erpnext/accounts/doctype/payment_request/payment_request.py”, line 386, in make_payment_request
frappe.local.response[“location”] = pr.get_payment_url()
File “apps/erpnext/erpnext/accounts/doctype/payment_request/payment_request.py”, line 164, in get_payment_url
controller = get_payment_gateway_controller(self.payment_gateway)
File “apps/frappe/frappe/integrations/utils.py”, line 72, in get_payment_gateway_controller
frappe.throw(_(“{0} Settings not found”).format(payment_gateway))
File “apps/frappe/frappe/init.py”, line 439, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’, is_minimizable=is_minimizable, wide=wide, as_list=as_list)
File “apps/frappe/frappe/init.py”, line 418, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 372, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Paystack Settings not found