Merge pull request #2317 from frappe/mergify/bp/main-hotfix/pr-2314

fix: allow None for optional args in get_payment_link (backport #2314)
This commit is contained in:
Raizaaa
2026-04-16 14:07:19 +03:00
committed by GitHub

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)