mirror of https://github.com/kortix-ai/suna.git
feat(billing): allow promocodes when purchasing
This commit is contained in:
parent
8904918ea7
commit
2d16fdec6f
|
@ -553,7 +553,8 @@ async def create_checkout_session(
|
|||
metadata={
|
||||
'user_id': current_user_id,
|
||||
'product_id': product_id
|
||||
}
|
||||
},
|
||||
allow_promotion_codes=True
|
||||
)
|
||||
|
||||
# Update customer status to potentially active (will be confirmed by webhook)
|
||||
|
|
Loading…
Reference in New Issue