- Use Case Number: 2-3-03
- Completed By: Software Developer
- Estimated Completion Time: <5 days
Design Approach
This use case uses the same design approach as discussed in Manage Subscriber Access to Subscription Content Based on Their Purchased Subscription in that you must develop an endpoint to consume and store entitlement push notifications. On the entitlement start date, for the given entitlement grant Subscribe will issue an entitlement start push notification. You will use a push listener to capture the start entitlement and update the local entitlement cache. Likewise on the entitlement end date Subscribe will issue an entitlement end notification. You will use that notification to record the end date of the given service. Parent topic:Single Event ProductsCapture Single-Event Entitlement Start and End Dates Using Push Notifications
- Contact Vindicia support to configure the Subscribe Entitlement Push Notifications to point to the URL of your push listener.
- Create the single-event Product in the Product catalog (see Configure Single-Event Products).
- Enable customers to purchase the single event Product using the Subscribe APIs (see Enable Customers to Purchase a Single-Event Product Without Purchasing a Subscription).
- Implement a push listener endpoint in your system that is capable of receiving https posts from the Subscribe servers. Your authorization system consumes the payload which contains the push entitlement notification message. (See Manage Subscriber Access to Subscription Content Based on Their Purchased Subscription).
- On the entitlement start date for the given season, Subscribe issues an entitlement start push notification. You must use your push listener to capture the start entitlement and update you local entitlement cache.
- Similarly, on the entitlement end date, Subscribe issues an entitlement end notification. You must use your push listener to capture that notification and update your local entittlement cache to record the end date of the given service.

