diff --git a/erpnext/erpnext_integrations/doctype/gocardless_settings/gocardless_settings.py b/erpnext/erpnext_integrations/doctype/gocardless_settings/gocardless_settings.py index 44426b6c24..c65e3cefee 100644 --- a/erpnext/erpnext_integrations/doctype/gocardless_settings/gocardless_settings.py +++ b/erpnext/erpnext_integrations/doctype/gocardless_settings/gocardless_settings.py @@ -85,7 +85,7 @@ class GoCardlessSettings(Document): return get_url("./integrations/gocardless_checkout?{0}".format(urlencode(kwargs))) def create_payment_request(self, data): - self.data = {str(key): str(value) for (key, value) in data.items()} + self.data = frappe._dict(data) try: self.integration_request = create_request_log(self.data, "Host", "GoCardless")