-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When Stripe sends webhooks with nested lists, Stripe only sends the first 10 items. For example, if you get a webhook for an invoice and you have more than 10 line items, Stripe won't send the exhaustive list, but only the first 10 items. This leads to missing data in the synced database. PR introduces a new AUTO_EXPAND_LISTS (opt-in) environment variable to automatically expand API lists that are not exhaustive. Supported lists: -invoice.lines -charges.refunds -subscription.items When the nested lists are not exhaustive (hasMore: true), we query the Stripe API to fetch the full list before persisting. the entry. Misc - Update Github actions to latest majors - Update local Supabase Postgres image to latest - Cleaned up duplicate imports from stripe
- Loading branch information
Showing
15 changed files
with
903 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.