Skip to content

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

Closed
colinloretz wants to merge 4 commits intodiscord:mainfrom
colinloretz:docs/testing-subscriptions
Closed

WIP - Premium Apps: Updated Guidance on Entitlements and SKU endpoints#6502
colinloretz wants to merge 4 commits intodiscord:mainfrom
colinloretz:docs/testing-subscriptions

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’re 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?

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

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.
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).

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.
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

TTtie added a commit to projectdysnomia/dysnomia that referenced this pull request Aug 28, 2024
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.

3 participants