Payment Gateway Issue

I’m trying to setup the bank account as a payment gateway for my webshop. When as a customer I’m trying to pay it is giving me an error as mentioned below;

Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 115, 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 1768, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/utils/typing_validations.py”, line 31, in wrapper
return func(*args, **kwargs)
File “apps/erpnext/erpnext/accounts/doctype/payment_request/payment_request.py”, line 526, in make_payment_request
frappe.local.response[“location”] = pr.get_payment_url()
File “apps/erpnext/erpnext/accounts/doctype/payment_request/payment_request.py”, line 261, in get_payment_url
controller.validate_transaction_currency(self.currency)
AttributeError: ‘BankAccount’ object has no attribute ‘validate_transaction_currency’

However, I’m receiving the request on admin side against the created payment gateway. How can I allow web user to move to the next page or directly submit the request and receive email with bank details.

Please suggest if someone can help me out in this case.

Many thanks in advance.