feat(billing): allow promocodes when purchasing

This commit is contained in:
sharath 2025-05-23 12:24:02 +00:00
parent 8904918ea7
commit 2d16fdec6f
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -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)