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/”, line 115, in application
response = frappe.api.handle(request)
File “apps/frappe/frappe/api/”, line 49, in handle
data = endpoint(**arguments)
File “apps/frappe/frappe/api/”, line 36, in handle_rpc_call
return frappe.handler.handle()
File “apps/frappe/frappe/”, line 49, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/”, line 85, in execute_cmd
return, **frappe.form_dict)
File “apps/frappe/frappe/”, line 1768, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/utils/”, line 31, in wrapper
return func(*args, **kwargs)
File “apps/erpnext/erpnext/accounts/doctype/payment_request/”, line 526, in make_payment_request
frappe.local.response[“location”] = pr.get_payment_url()
File “apps/erpnext/erpnext/accounts/doctype/payment_request/”, line 261, in get_payment_url
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.