Skip to main content
You must maintain a local cache of customers that have purchased a single-use product that the Content Management System (CMS) solution references to grant customers access to content. To enable this functionality, you must use Subscribe push notifications.
  • Use Case Number: 2-3-02
  • 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 issues an Entitlement start push notification. You must use a push listener to capture the start entitlement and update the local entitlement cache. Likewise on the entitlement end date Subscribe, issues an entitlement end notification. You must use that notification to record the end date of the given service. Parent topic:Single Use Products

Capture Single-Use Entitlement Start and End Dates Using Push Notifications

To capture single-use entitlement start and end dates:
  1. 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.)
  2. On the entitlement start date for the given season, Subscribe issues an entitlement start push notification. Use your push listener to capture the start entitlement and update you local entitlement cache.
  3. Similarly, on the entitlement end date, Subscribe issues an entitlement end notification. Use your push listener to capture that notification and update your local entitlement cache to record the end date of the given service.
Parent topic:Manage Subscriber Access for Single Use Product Purchases