fix: allow None for optional args in get_payment_link

This commit is contained in:
raizasafeel
2026-04-15 12:08:24 +05:30
parent 189cae3490
commit 2878f0232c

View File

@@ -29,8 +29,8 @@ def get_payment_link(
docname: str,
address: dict,
payment_for_certificate: int,
coupon_code: str,
country: str,
coupon_code: str | None = None,
country: str | None = None,
):
payment_gateway = get_payment_gateway()
address = frappe._dict(address)