I got an error when I paid for my order

Error:
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 66, in application
response = frappe.api.handle()
File “apps/frappe/frappe/api.py”, line 54, 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 68, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “apps/frappe/frappe/init.py”, line 1233, 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 165, in get_payment_url
controller.validate_transaction_currency(self.currency)
AttributeError: ‘Account’ object has no attribute ‘validate_transaction_currency’

When I paid for the order an error appeared.
Can someone help me fix it and explain me the steps to set up checkout ?
Thank you so much!