diff --git a/payments/payment_gateways/doctype/stripe_settings/stripe_settings.py b/payments/payment_gateways/doctype/stripe_settings/stripe_settings.py index dc2dc1cc..0bf5e9e2 100644 --- a/payments/payment_gateways/doctype/stripe_settings/stripe_settings.py +++ b/payments/payment_gateways/doctype/stripe_settings/stripe_settings.py @@ -188,7 +188,7 @@ def validate_minimum_transaction_amount(self, currency, amount): ) def get_payment_url(self, **kwargs): - return get_url(f"./stripe_checkout?{urlencode(kwargs)}") + return f"/stripe_checkout?{urlencode(kwargs)}" def create_request(self, data): import stripe