You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4338090
Browse filesBrowse the repository at this point in the historyBrowse files
docs(xsolla): correct primary keys for project-scoped Store tables (#21311)
Subscription tables use (project_id, id). The virtual_items, virtual_currencies, and bundles tables use (project_id, sku). Add the Store tables to the project-scoped table list and the project fan-out list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated-By: PostHog Desktop
Task-Id: c1243541-bce8-467b-8aac-dc76c8e0e0be
Co-authored-by: posthog[bot] <206114724+posthog[bot]@users.noreply.github.com>
Copy file name to clipboardExpand all lines: contents/docs/cdp/sources/xsolla.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ availability:
9
9
sourceId: Xsolla
10
10
---
11
11
12
-
The Xsolla connector syncs your payment and subscription data into PostHog, including transactions, subscriptions, payouts, reports, promotions, projects, and per-project subscription details.
12
+
The Xsolla connector syncs your payment and subscription data into PostHog, including transactions, subscriptions, payouts, reports, promotions, projects, and per-project subscription and Store details.
13
13
14
14
## Prerequisites
15
15
@@ -52,13 +52,16 @@ These tables read data at the merchant level:
52
52
53
53
### Project-scoped tables
54
54
55
-
These tables are read once per project that the merchant owns. Each row includes a `project_id` column, and the primary key is `(project_id, id)` because the Xsolla API does not guarantee globally unique IDs across projects.
55
+
These tables are read once per project that the merchant owns. Each row includes a `project_id` column, and the primary key includes `project_id` because the Xsolla API does not guarantee globally unique IDs across projects. Subscription tables use `(project_id, id)`. Store tables use `(project_id, sku)`.
|`subscription_payments`| Subscription charges for each project |`(project_id, id)`| Full refresh |
60
+
|`subscription_plans`| Subscription plans for each project |`(project_id, id)`| Full refresh |
61
+
|`subscription_products`| Subscription products for each project |`(project_id, id)`| Full refresh |
62
+
|`virtual_items`| Store virtual items for each project |`(project_id, sku)`| Full refresh |
63
+
|`virtual_currencies`| Store virtual currencies for each project |`(project_id, sku)`| Full refresh |
64
+
|`bundles`| Store bundles for each project |`(project_id, sku)`| Full refresh |
62
65
63
66
## Sync details
64
67
@@ -68,4 +71,4 @@ These tables are read once per project that the merchant owns. Each row includes
68
71
69
72
-**Resumable syncs** – If a sync is interrupted, it resumes from the last completed window, project, and page offset on the next run.
70
73
71
-
-**Project fan-out** – For project-scoped tables (`subscription_payments`, `subscription_plans`, `subscription_products`), PostHog first lists the merchant's projects, then reads each project in turn.
74
+
-**Project fan-out** – For project-scoped tables (`subscription_payments`, `subscription_plans`, `subscription_products`, `virtual_items`, `virtual_currencies`, `bundles`), PostHog first lists the merchant's projects, then reads each project in turn.
0 commit comments