Merge pull request #21935 from overleaf/em-recurly-event-ai-add-on

Add an hasAiAddOn property to Recurly events sent to analytics

GitOrigin-RevId: a3cfc706001bab3ef06bfaf64d69533b1bc9840a
This commit is contained in:
Eric Mc Sween
2024-11-21 09:04:53 +00:00
committed by Copybot
parent 2e630e50dc
commit 58e34617bc
2 changed files with 25 additions and 6 deletions
@@ -60,6 +60,7 @@ describe('RecurlyEventHandler', function () {
plan_code: this.planCode,
quantity: 1,
is_trial: true,
has_ai_add_on: false,
subscriptionId: this.eventData.subscription.uuid,
}
)
@@ -113,6 +114,7 @@ describe('RecurlyEventHandler', function () {
plan_code: this.planCode,
quantity: 3,
is_trial: false,
has_ai_add_on: false,
subscriptionId: this.eventData.subscription.uuid,
}
)
@@ -145,6 +147,7 @@ describe('RecurlyEventHandler', function () {
plan_code: this.planCode,
quantity: 1,
is_trial: true,
has_ai_add_on: false,
subscriptionId: this.eventData.subscription.uuid,
}
)
@@ -182,6 +185,7 @@ describe('RecurlyEventHandler', function () {
plan_code: this.planCode,
quantity: 1,
is_trial: true,
has_ai_add_on: false,
subscriptionId: this.eventData.subscription.uuid,
}
)
@@ -213,6 +217,7 @@ describe('RecurlyEventHandler', function () {
plan_code: this.planCode,
quantity: 1,
is_trial: true,
has_ai_add_on: false,
subscriptionId: this.eventData.subscription.uuid,
}
)
@@ -249,6 +254,7 @@ describe('RecurlyEventHandler', function () {
plan_code: this.planCode,
quantity: 1,
is_trial: true,
has_ai_add_on: false,
subscriptionId: this.eventData.subscription.uuid,
}
)
@@ -266,6 +272,7 @@ describe('RecurlyEventHandler', function () {
{
plan_code: this.planCode,
quantity: 1,
has_ai_add_on: false,
subscriptionId: this.eventData.subscription.uuid,
}
)