{
  "generatedAt": "2026-06-30T17:36:05.653Z",
  "source": "app.tegy.io authenticated user journey with Polar sandbox billing",
  "issue": 487,
  "deployment": {
    "appHost": "app.tegy.io",
    "workerVersionId": "e6444674-c4f1-41dd-adff-d733ec2a7944",
    "polarServer": "sandbox",
    "polarProductId": "767ac3f3-ea38-4694-ac6b-d83350a582db",
    "billingEnforcement": "off"
  },
  "workspace": {
    "orgId": "org_default",
    "externalCustomerId": "tegy_org:org_default",
    "activeMemberCount": 5
  },
  "timeline": [
    {
      "at": "2026-06-30T17:32:41.178Z",
      "event": "app_billing_status_before_checkout",
      "state": "free",
      "active": false,
      "server": "sandbox",
      "activeMemberCount": 5
    },
    {
      "at": "2026-06-30T17:32:44.181Z",
      "event": "app_free_billing_dialog_visible",
      "summary": "Workspace plan Free, 5 seats, Tegy Pro $20/mo per seat, Upgrade action visible."
    },
    {
      "at": "2026-06-30T17:32:56.429Z",
      "event": "polar_sandbox_checkout_visible",
      "summary": "Polar sandbox checkout opened from the app Upgrade button for Tegy Pro, 5 seats, $108.88/mo including tax."
    },
    {
      "at": "2026-06-30T17:32:56.717Z",
      "event": "subscribe_clicked",
      "summary": "Sandbox checkout submitted with a saved Stripe test card ending 4242."
    },
    {
      "at": "2026-06-30T17:35:54.264Z",
      "event": "app_billing_status_after_return_refresh",
      "state": "canceling",
      "active": true,
      "currentPeriodEnd": "2026-07-30T13:32:46.833Z",
      "cancelAtPeriodEnd": true
    },
    {
      "at": "2026-06-30T17:35:56.342Z",
      "event": "app_canceling_billing_dialog_visible",
      "summary": "Billing dialog shows Canceling, paid access remains active until the paid period ends, billing period July 30, 2026."
    },
    {
      "at": "2026-06-30T17:36:05.558Z",
      "event": "polar_customer_portal_visible",
      "summary": "Polar sandbox customer portal opened from Manage billing and shows Tegy Pro status To Be Cancelled with expiry date July 30, 2026."
    }
  ],
  "latestAppBillingState": {
    "state": "canceling",
    "active": true,
    "currentPeriodEnd": "2026-07-30T13:32:46.833Z",
    "subscription": {
      "status": "active",
      "cancelAtPeriodEnd": true,
      "polarProductId": "767ac3f3-ea38-4694-ac6b-d83350a582db"
    }
  },
  "video": {
    "durationSeconds": 42.96,
    "resolution": "1280x800",
    "reviewedViaContactSheet": true,
    "notes": [
      "The video is from the app.tegy.io user's point of view, not the previous provider harness.",
      "The Polar sandbox checkout did not auto-return in the automation after confirming the subscription; the app return segment records the real /new?billing=return refresh against Polar customer state.",
      "The visible Polar sandbox banner confirms no production payment was processed."
    ]
  },
  "safety": {
    "excludesSecrets": true,
    "excluded": [
      "Polar access tokens",
      "checkout URLs",
      "portal session URLs",
      "webhook secrets",
      "auth cookies"
    ]
  }
}
