Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment Gateway Account not created #67

Open
mrPauwHaan opened this issue Feb 5, 2024 · 0 comments
Open

Payment Gateway Account not created #67

mrPauwHaan opened this issue Feb 5, 2024 · 0 comments

Comments

@mrPauwHaan
Copy link

When creating Stripe Settings, I am getting the error "Payment Gateway Account not created". If you add it manually, it leads to an error when implementing it in a webform:

Traceback (most recent call last): File "apps/frappe/frappe/website/serve.py", line 18, in get_response response = renderer_instance.render() File "apps/frappe/frappe/website/page_renderers/template_page.py", line 84, in render html = self.get_html() File "apps/frappe/frappe/website/utils.py", line 524, in cache_html_decorator html = func(*args, **kwargs) File "apps/frappe/frappe/website/page_renderers/template_page.py", line 95, in get_html self.update_context() File "apps/frappe/frappe/website/page_renderers/template_page.py", line 163, in update_context data = self.run_pymodule_method("get_context") File "apps/frappe/frappe/website/page_renderers/template_page.py", line 225, in run_pymodule_method return method(self.context) File "apps/payments/payments/templates/pages/stripe_checkout.py", line 36, in get_context gateway_controller = get_gateway_controller(context.reference_doctype, context.reference_docname) File "apps/payments/payments/payment_gateways/doctype/stripe_settings/stripe_settings.py", line 279, in get_gateway_controller "Payment Gateway", reference_doc.payment_gateway, "gateway_controller" AttributeError: 'Document' object has no attribute 'payment_gateway'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant