Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP - Premium Apps: Updated Guidance on Entitlements and SKU endpoints #6502

Closed

Conversation

colinloretz
Copy link
Contributor

@colinloretz colinloretz commented Oct 27, 2023

Following feedback on Premium App Subscriptions, we're working on a better way for developers to test their app subscriptions. The goal is to provide an alternative to creating test entitlements or using live payment methods.

In the meantime, we鈥檙e providing updated guidance around the /entitlements and /skus HTTP endpoints.

馃И These endpoints will remain available until the new testing method is available.

Library devs: We strongly advise against embedding them in long-term tooling or libraries as access may be removed in the future.

We will announce new guidance and developers documentation when new testing options are ready to be used.

  • updated docs to reflect updated guidance
  • changelog

@Rapptz
Copy link
Contributor

Rapptz commented Oct 27, 2023

So non-interaction fetching of entitlements is no longer supported?

docs/monetization/App_Subscriptions.md Outdated Show resolved Hide resolved
docs/monetization/App_Subscriptions.md Outdated Show resolved Hide resolved
colinloretz and others added 2 commits October 27, 2023 09:25
Co-authored-by: Lala Sabathil <aiko@aitsys.dev>
Co-authored-by: Lala Sabathil <aiko@aitsys.dev>
Copy link
Contributor

@Lulalaby Lulalaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be smarter to cut out the end of the sentence completely maybe.

What you think colin


You can use this field to determine if the user or guild is subscribed to your app.
Each interaction payload includes an `entitlements` field containing an array of full [entitlement objects](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object) that the guild or user currently has access to.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Each interaction payload includes an `entitlements` field containing an array of full [entitlement objects](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object) that the guild or user currently has access to.
Each interaction payload includes an `entitlements` field containing an array of full [entitlement objects](#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object).


### Keeping Track of Entitlements
You can use this field to determine if the user is subscribed to your app.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
You can use this field to determine if the user is subscribed to your app.
You can use this field to determine if the user or guild is subscribed to your app.

@colinloretz colinloretz changed the title Premium Apps: Updated Guidance on Entitlements and SKU endpoints WIP - Premium Apps: Updated Guidance on Entitlements and SKU endpoints Oct 27, 2023
@colinloretz
Copy link
Contributor Author

So non-interaction fetching of entitlements is no longer supported?

@Rapptz not the intention! I've moved this back to draft and will have changes next week for non-interaction use cases.

/cc @advaith1 for calling this out too

@colinloretz
Copy link
Contributor Author

Update: still working with internal teams on this.

@colinloretz
Copy link
Contributor Author

Closing in favor of #6548

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.

None yet

3 participants