feat(subscriptions): create_subscription_session prend le handle en paramètre

This commit is contained in:
Colin Maudry
2026-07-01 14:34:09 +02:00
parent 64158e9080
commit 179e6e436d
2 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -63,6 +63,7 @@ def update_customer(handle: str, data: dict) -> dict:
def create_subscription_session(
plan_handle: str,
handle: str,
accept_url: str,
cancel_url: str,
no_trial: bool = False,
@@ -72,7 +73,7 @@ def create_subscription_session(
body: dict = {
"plan": plan_handle,
"signup_method": "link",
"generate_handle": True,
"handle": handle,
"accept_url": accept_url,
"cancel_url": cancel_url,
}