URL Utilities
function
Get the full URL path based on your site URL and locale settings.
Request Utilities
function
Extract the client IP address from incoming requests, supporting both Cloudflare and Vercel deployments.
Logging
function
Create a log entry in the database for tracking and monitoring.
Purchase Management
Purchase Utilities
function
Get the configuration object for a purchase.
function
Get the configured name for a purchase.
function
Check if a user has an active purchase for a specific product.
Subscription Utilities
function
Get the configuration object for a subscription plan.
function
Get the configured name for a subscription plan.
function
Check if a user has an active subscription for a specific plan.

