# Remixer Billing [Scope of Work] ## Executive Summary This feature focuses on integrating Remixer, an AI-powered website builder, into the existing DreamHost customer ecosystem. The primary objective is to implement a complete user experience that enables existing DreamHost customers to view available plans, purchase Remixer subscriptions, and access the website editor seamlessly. ## Feature Objective Develop and implement the full-stack infrastructure required to support the complete user flow: **Plan Discovery → Plan Purchase → Remixer Website Editor Access** The solution will target existing DreamHost customers and provide them with integrated access to AI-powered website building capabilities. --- ## Frontend Development Requirements ### Universal Checkout Integration - **Cart Widget Enhancement**: Add Remixer product integration to the existing panel cart widget - **API3 Integration**: Implement API3 endpoints integration for Remixer plan purchases - **AUTOPAY ONLY PROCESSING**: Check cutomer has autopay enabled on the account to ensure seamless checkout experience for Remixer subscriptions ### Websites Dashboard Enhancement - **Remixer Workflow Integration**: Add complete website creation flow specifically for Remixer - **Editor Access From List/Grid**: Implement changes to list/grid view for accessing Remixer Editor for domain - **Editor Access From Manage Website**: Implement changes to manage website view for accessing Remixer Editor for domain ### Remixer Marketing Page - Develop a comprehensive marketing page that supports two distinct user scenarios: 1. **New Remixer Customers**: Users without existing Remixer plans 2. **Existing Remixer Customers**: Users with current plans seeking upgrades or additional features ### Account Management Integration - **Plan Display**: Add Remixer subscriptions to the existing account plans list - **Plan Management**: Enable customers to view and manage their Remixer plan details - **Billing Integration**: Display Remixer charges alongside other DreamHost services --- ## Backend API3 Development ### Product Service (product-service) Endpoints #### Plan Discovery - **Get Palns**: `GET` - Function: Return available Remixer plans and pricing options - Response: Complete plan details including features, pricing, and availability #### Plan Management - **Create Plan**: `POST` - Function: Purchase and activate new Remixer plan - Process: Handle payment processing and service provisioning - **Cancel Plan**: `DELETE` - Function: Cancel existing Remixer subscription - Process: Handle service deactivation and billing adjustments - **Upgrade Plan**: `POST` - Function: Upgrade existing Remixer plan to higher tier - Process: Handle plan transitions and prorated billing --- ## Service Queue & Job Processing (NDN) ### Cart Service Integration - **Instant Charge Confirmation**: Implement automatic creation of 'fulfill LLM budget request' entries upon successful payment processing - **Real-time Processing**: Ensure immediate service activation following payment confirmation ### Remixer Service Management Jobs - **Service Creation Job**: `Job Create Remixer Service Instance` - Provision new Remixer service instances - Configure user access and permissions - Initialize service parameters - **Service Deletion Job**: `Job Delete Remixer Service Instance` - Safely deactivate Remixer services - Handle data retention policies - Process service cleanup - **Service Modification Job**: `Job Modify Remixer Service Instance` - Handle plan upgrades and downgrades - Adjust service parameters and limits - Process billing adjustments --- ## Billing System Integration (NDN) ### Custom Scheduled Billing - **Automated Billing**: Implement custom scheduled biller for recurring Remixer charges - **Charge Confirmation**: Create 'fulfill LLM budget request' entries upon successful charge processing - **Budget Management**: Integrate with LLM budget allocation system (via API3) that resolves 'fulfill LLM budget request' entries ## Billing System Integration (API3) ### LLM budget allocation system - **LLM Budget Integration**: Call liteLLM API for new budget allocation ### Backup Budget Fulfillment System - **Request Processing**: Develop system to process and resolve 'fulfill LLM budget request' entries - **Success Validation**: Ensure budget allocation occurs only once and only after confirmed successful charge --- ## Database Updates ### New Service Types Implementation #### Monthly Subscription - **Service Type**: Remixer Monthly - **Pricing**: $19.00/month - **Billing Cycle**: Monthly recurring #### Annual Subscription - **Service Type**: Remixer Yearly - **Pricing**: $199.00/year - **Billing Cycle**: Annual recurring - **Value Proposition**: Equivalent to ~$16.58/month (13% significant savings over monthly) #### Usage-Based Add-on - **Service Type**: Remixer Top Up - **Pricing**: $10.00/instance - **Billing Type**: One-time charge - **Purpose**: Additional LLM Budget ### Database Implementation Requirements - Add service type definitions to existing service catalog - Set correct pricing structure and billing cycle configurations - Ensure compatibility with existing DreamHost billing infrastructure --- ## Template Generation Pipeline (AWS Step Functions) ### Virtual Key <> Service Instance Relation * When a liteLLM **Virtual Key** is created, it should be linked with a service instance record (**Remixer Plan Instance**).