> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developer.ordergroove.com/docs/developer-fundamentals/platform-overview/subscription-manager-tagging-and-authentication/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developer.ordergroove.com/_mcp/server. # Subscription Manager Tagging and Authentication ## Subscription Page Tagging The Subscription Manager is where a customer can interact with their subscriptions. In order for this interface to exist, please create a new page under your site's My Account section to hold the Subscription Manager content. This URL should redirect to the login page if the user is not logged in. Please provide the relative path of this page in the Ordergroove Subscription Settings. > **Subscription Manager vs MSI** > > Please note that in the code examples the Subscription Manager is written as MSI which is our legacy name. When writing this code, MSI is the correct method. Please add the following div to the page ```html
``` Please add the following JS tag Front-end Static Domains:\ Production: [https://static.ordergroove.com](https://static.ordergroove.com)\ Staging: [https://staging.static.ordergroove.com](https://staging.static.ordergroove.com) > **Note** > > Use the production domain unless Ordergroove has provisioned your account in Ordergroove's staging environment — the staging domain 404s without this, and the Subscription Manager won't load. ```javascript ``` --- ## Cookie and Signature Creation When the customer logs into your site, you should create a signature and set it as a "secure" cookie and not HTTP only. Please refer to the [HMAC instructions](/data/hmac-auth) from the Authentication and Encryption article. * Only set the og\_auth cookie if the user is logged in and set it to a 2-hour expiry. Please delete this cookie whenever the user logs out to ensure that access to the customer's subscription has been terminated when the user's session ends. * Do not URL encode this cookie * The merchant\_user\_id in the cookie should be the value you use to identify the customer in your system * Seconds since epoch should not include milliseconds. This will be a 10-digit number The cookie contents will have the following format: ```Text