Skip to content

Canceled subscriptions are not being backfilled #336

Description

@th0rgall

I added this integration to Supabase recently, and noticed that the count of subscriptions objects was off. It was virtually equal to our confirmed count of active subscriptions, but it included just a few canceled subscriptions.

This leads me to suspect that the initial subscriptions backfill did not include canceled objects, which seems plausible considering that the listing API for subscriptions mentions:

By default, returns a list of subscriptions that have not been canceled. In order to list canceled subscriptions, specify status=canceled.

My guess that this API is used by this engine without status parameter, and that the engine does not perform a second pass to list and backfill canceled subscriptions. The few canceled subscriptions that did get synced came from webhook events.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions