-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Premium Apps: One-Time Purchase SKUs + Managing Your Store #6820
Conversation
] | ||
``` | ||
|
||
## Consume an Entitlement % POST /applications/{application.id#DOCS_RESOURCES_APPLICATION/application-object}/entitlements/{entitlement.id#DOCS_MONETIZATION_ENTITLEMENTS/entitlement-object}/consume | ||
|
||
For One-Time Purchase consumable SKUs, marks a given entitlement for the user as consumed. The entitlement will have `consumed: true` when using [List Entitlements](#DOCS_MONETIZATION_ENTITLEMENTS/list-entitlements). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does that fires any events? such as ENTITLEMENT_UPDATE
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will check on this!
- Create a SKU | ||
- Add a SKU image and benefits | ||
- Implement the SKU into your app | ||
- Publish a SKU to your store view with the click of a button. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these sequential steps that need to be taken? should it be a numbered list instead of bulleted?
Developers now have the ability to set up a Store page in the Developer Portal. To set up your Premium App's Store view take the following steps: | ||
|
||
- Create a SKU | ||
- Add a SKU image and benefits |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this link to https://discord.com/developers/docs/monetization/skus#customizing-your-skus ?
- SKU Image | ||
- Name | ||
- Product Description | ||
- Price |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think this just can be inline—this is taking up a lot of vertical space and i dont think it needs to be—just "you can configure the SKU's name, image, description, and price" or something
|
||
## Publishing Your One-Time Purchases | ||
|
||
Once you have configured your SKU, you can publish the SKU to either just the API or the API and your Store. Learn more about [Managing Your Store](#DOCS_MONETIZATION_MANAGING_YOUR_STORE) to curate what items you make available to your users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it's just published to the store, what does it mean for end users?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will revisit some of this with more detail after its live 😎
- Working with Entitlements | ||
- Handling Gateway Events for Entitlements | ||
- Handling Entitlements for Consumable SKUs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Working with Entitlements | |
- Handling Gateway Events for Entitlements | |
- Handling Entitlements for Consumable SKUs | |
- Working with Entitlements | |
- Handling Gateway Events for Entitlements | |
- Handling Entitlements for Consumable SKUs |
|
||
#### Entitlement HTTP Endpoints | ||
|
||
For apps requiring background processing, keeping track of entitlements is essential. You can utilize the [List Entitlements](#DOCS_MONETIZATION_ENTITLEMENTS/list-entitlements) endpoint to list entitlements. Your app can filter entitlements by a specific user or set of SKUs by using the `?user_id=XYZ` or `?sku_ids=XYZ` query params. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For apps requiring background processing, keeping track of entitlements is essential. You can utilize the [List Entitlements](#DOCS_MONETIZATION_ENTITLEMENTS/list-entitlements) endpoint to list entitlements. Your app can filter entitlements by a specific user or set of SKUs by using the `?user_id=XYZ` or `?sku_ids=XYZ` query params. | |
For apps requiring background processing, keeping track of entitlements is essential. You can use the [List Entitlements](#DOCS_MONETIZATION_ENTITLEMENTS/list-entitlements) endpoint to list entitlements. Your app can filter entitlements by a specific user or set of SKUs by using the `?user_id=XYZ` or `?sku_ids=XYZ` query params. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this just be "the user_id
and sku_id
query params"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is user_id
and sku_ids
Co-authored-by: shay <swdewael@gmail.com>
Co-authored-by: shay <swdewael@gmail.com>
Co-authored-by: shay <swdewael@gmail.com>
Co-authored-by: shay <swdewael@gmail.com>
) * Added docs for One-Time Purchase + Store * Update docs/monetization/One-Time_Purchases.md Co-authored-by: shay <swdewael@gmail.com> * Update docs/Change_Log.md Co-authored-by: shay <swdewael@gmail.com> * Update docs/monetization/Managing_Your_Store.md Co-authored-by: shay <swdewael@gmail.com> * Update docs/monetization/One-Time_Purchases.md Co-authored-by: shay <swdewael@gmail.com> --------- Co-authored-by: shay <swdewael@gmail.com>
One-time purchases are here, along with Stores for Premium Apps.
consumed
field on the Entitlement resource