Skip to content

Commit 7be3337

Browse files
fix: missing 'force_checkout' param in Client.checkout method
1 parent b337e36 commit 7be3337

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

autumn/aio/stubs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ def __call__(
7979
options: Optional[List[FeatureOptions]] = None,
8080
customer_data: Optional[CustomerData] = None,
8181
success_url: Optional[str] = None,
82+
force_checkout: bool = False,
8283
checkout_session_params: Optional[Dict[str, Any]] = None,
8384
reward: Optional[Union[str, List[str]]] = None,
8485
) -> Awaitable[CheckoutResponse]: ...

autumn/client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ def checkout(
115115
product_id: Optional[str] = None,
116116
products: Optional[List[ProductOptions]] = None,
117117
success_url: Optional[str] = None,
118+
force_checkout: bool = False,
118119
options: Optional[List[FeatureOptions]] = None,
119120
entity_id: Optional[str] = None,
120121
customer_data: Optional[CustomerData] = None,

0 commit comments

Comments
 (0)