Skip to content

feat: support entitlements and features #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

shehroze-1122
Copy link

@shehroze-1122 shehroze-1122 commented Jul 29, 2025

What kind of change does this PR introduce?

This PR adds supports for stripe's Entitlements feature with Feature object.
Added the following:

  • Webhook support for entitlements.active_entitlement_summary.updated event.
  • Syncing single Feature via syncSingleEntity
  • Syncing features and entitlements using syncEntitlements and syncFeatures methods.
    The reason Entitlement is not supported in syncSingleEntity and both entitlements and features are not supported in syncBackfill method is because the Stripe API for these object is different from the other objects.

What is the current behavior?

There is no support for entitlements/features.

What is the new behavior?

We'll be able to listen to entitlements.active_entitlement_summary.updated event in the webhook and expose the methods to sync entitlements and features.

@shehroze-1122
Copy link
Author

@kevcodez can you please review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant