From 6510e8f6f7251ff1e81c6a14182d85005874564f Mon Sep 17 00:00:00 2001 From: Avunu LLC Date: Wed, 29 May 2024 15:42:23 -0400 Subject: [PATCH] refactor: relative stripe URL --- .../payment_gateways/doctype/stripe_settings/stripe_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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