Skip to content

Commit

Permalink
refactor: relative stripe URL
Browse files Browse the repository at this point in the history
  • Loading branch information
batonac committed May 29, 2024
1 parent 71c34ea commit 6510e8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6510e8f

Please sign in to comment.