feat(pricing/ai): improve billing metered pricing + add pricing on ai chat (#14092)
## TODO: - [x] display "yearly" or "monthly" wording everywhere it's needed - [ ] Add button with "downgrade" or "upgrade" to save the change of credits price + modal to validate - [x] Add renewal date - [ ] Implement https://docs.stripe.com/billing/subscriptions/subscription-schedules for `switchFromYearlyToMonthly` and decrease number of credits
This commit is contained in:
@@ -69,10 +69,12 @@ export const USER_QUERY_FRAGMENT = gql`
|
||||
status
|
||||
interval
|
||||
metadata
|
||||
currentPeriodEnd
|
||||
billingSubscriptionItems {
|
||||
id
|
||||
hasReachedCurrentPeriodCap
|
||||
quantity
|
||||
stripePriceId
|
||||
billingProduct {
|
||||
name
|
||||
description
|
||||
|
||||
Reference in New Issue
Block a user