collab: Add support for extended Zed Pro trial (#29612)
This PR adds support for an extended Zed Pro trial, applied based on the presence of the `agent-extended-trial` feature flag. Release Notes: - N/A
This commit is contained in:
parent
f7f44bfbed
commit
386970c29a
2 changed files with 26 additions and 1 deletions
|
@ -380,11 +380,14 @@ async fn create_billing_subscription(
|
|||
}
|
||||
}
|
||||
|
||||
let feature_flags = app.db.get_user_flags(user.id).await?;
|
||||
|
||||
stripe_billing
|
||||
.checkout_with_zed_pro_trial(
|
||||
app.config.zed_pro_price_id()?,
|
||||
customer_id,
|
||||
&user.github_login,
|
||||
feature_flags,
|
||||
&success_url,
|
||||
)
|
||||
.await?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue