WIP - Premium Apps: Updated Guidance on Entitlements and SKU endpoints#6502
Closed
colinloretz wants to merge 4 commits intodiscord:mainfrom
Closed
WIP - Premium Apps: Updated Guidance on Entitlements and SKU endpoints#6502colinloretz wants to merge 4 commits intodiscord:mainfrom
colinloretz wants to merge 4 commits intodiscord:mainfrom
Conversation
Contributor
|
So non-interaction fetching of entitlements is no longer supported? |
Lulalaby
reviewed
Oct 27, 2023
Co-authored-by: Lala Sabathil <aiko@aitsys.dev>
Co-authored-by: Lala Sabathil <aiko@aitsys.dev>
3 tasks
Lulalaby
reviewed
Oct 27, 2023
| When a user purchases a subscription, an entitlement is created. [Entitlements](#DOCS_MONETIZATION_ENTITLEMENTS) represent the user's access to your premium offering. | ||
|
|
||
| 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. |
Contributor
There was a problem hiding this comment.
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). |
| 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. | ||
|
|
||
| ### Keeping Track of Entitlements | ||
| You can use this field to determine if the user is subscribed to your app. |
Contributor
There was a problem hiding this comment.
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. |
Contributor
Author
Contributor
Author
|
Update: still working with internal teams on this. |
Contributor
Author
|
Closing in favor of #6548 |
TTtie
added a commit
to projectdysnomia/dysnomia
that referenced
this pull request
Aug 28, 2024
Probably alright to the degree that I could test (I don't have access to monetization features). Ref: discord/discord-api-docs@b97fad3 Ref: discord/discord-api-docs@70b03d1 Ref: discord/discord-api-docs@b8feadd Ref: discord/discord-api-docs#6502 Ref: discord/discord-api-docs#6548 Ref: discord/discord-api-docs@f0d1615
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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’re providing updated guidance around the
/entitlementsand/skusHTTP 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.