☁️ Nimbus

Plan Service Testing Suite

Complete testing environment for WeightWise checkout, NIMCORE subscriptions, Chat Service API, and billing management features. All demos include live API integration, modern UIs, and comprehensive debugging tools.

5 WeightWise Pages
5 Services
14 Live Demos
100% Test Mode

🚀 Get Started

Choose what you want to test

🏥 WeightWise Plans

Complete checkout system with 5 interactive pages

🎯 Test Mode Active
All checkout pages use Stripe test mode. Use test card: 4242 4242 4242 4242 with any future expiry date and any CVC. Features: Contract-based pricing, automatic discounts, 6-step checkout flow, and real-time validation.

📦 What's Included

💰 Smart Pricing
  • • Contract discounts (10-20%)
  • • Real-time price updates
  • • Automatic calculations
  • • Savings display
✅ Complete Flow
  • • 6-step checkout process
  • • Stripe payment integration
  • • Success confirmation
  • • Error handling
🎨 Great UX
  • • Modern, clean design
  • • Mobile responsive
  • • Loading states
  • • Form validation

💊 NIMCORE Checkout & Payments

Complete checkout and one-time payment examples

🎯 What's Included
Complete examples demonstrating NIMCORE subscription checkout ($224/mo) with coupon support, one-time payment processing for existing customers, and an end-to-end flow simulator covering enrollment, recommendations, payment capture, and receipts. All include Stripe integration, invoice generation, and comprehensive API workflows.

🔄 Complete Checkout Flow

  1. Create Payment Method - Stripe.js securely tokenizes card
  2. Create Subscription - POST /subscriptions (with optional coupon)
  3. Generate Invoice - POST /invoices/generate
  4. Finalize Invoice - POST /invoices/{id}/finalize
  5. Add Payment Method - POST /payments/methods
  6. Charge Invoice - POST /payments/charge

🧪 QA Testing Tools

Professional testing utilities for subscription & payment workflows

🎯 Manual Testing Made Easy
A comprehensive QA toolkit for testing NIMCORE subscription renewals and payment capture functionality without waiting for scheduled cron jobs. Includes browser-based simulators, CLI test scripts, and complete documentation. Perfect for QA teams to verify payment flows, subscription period advancement, invoice generation, and error handling scenarios.

✨ Key Testing Features

🔄 Subscription Testing
  • • Manual renewal triggers
  • • Period end simulation
  • • Contract subscription testing
  • • Load by ID or customer
💰 Payment Workflows
  • • Payment capture testing
  • • Invoice generation
  • • Past due scenarios
  • • Error handling
📊 Real-Time Monitoring
  • • Live activity logs
  • • Color-coded status
  • • Timestamped actions
  • • Detailed error messages
🎨 QA-Friendly UI
  • • No setup required
  • • Visual indicators
  • • One-click testing
  • • Environment switching

📋 Common Test Scenarios

  1. Regular Monthly Renewal: Load active subscription → Simulate period end → Trigger renewal → Verify period advancement
  2. Past Due Payment: Load past due subscription → Trigger renewal → Verify payment & status update
  3. Contract Subscription: Load contract (3/6/12 month) → Simulate end → Verify installment processing

📋 Patient Recommendation Service

Comprehensive medicine and recommendation management

🎯 Complete Testing Interface
A full-featured web interface for testing the Patient Recommendation Service API. Manage medicines across NIMCORE (Testosterone), WEIGHTWISE (Weight Loss), and HAIRWISE (Hair Loss) treatments. Create, modify, and track patient recommendations with flexible dosing and pricing options. Includes version history, status tracking, and patient acceptance workflows.

✨ Key Features

🏥 Medicine Management
  • • Create medicines with descriptions
  • • Add dosages with flexible pricing
  • • Search by treatment type
  • • View complete medicine details
📋 Recommendations
  • • Create multi-item recommendations
  • • Modify with version history
  • • Search by patient/provider
  • • Track status changes
👥 Patient Response
  • • Accept with billing cycle choice
  • • Reject with reasons
  • • View current status
  • • EventBridge integration
💊 Treatment Types
  • • NIMCORE (Testosterone)
  • • WEIGHTWISE (Weight Loss)
  • • HAIRWISE (Hair Loss)
  • • Flexible supply rates

💬 Chat Service Frontend

Complete testing UI for Chat Service API

🎯 Developer-Friendly Testing Tool
A modern, responsive UI for testing and demonstrating the Nimbus Chat Service API. Features real-time messaging, conversation management, and a comprehensive API debug panel that logs every request/response for easy integration testing.

✨ Key Features

🎨 Modern UI
  • • Clean, professional design
  • • Responsive layout
  • • Smooth animations
  • • Mobile-friendly
🔍 Debug Panel
  • • Live API logging
  • • Request/Response viewer
  • • Color-coded methods
  • • Expandable details
💬 Chat Features
  • • Create conversations
  • • Send/receive messages
  • • Manage participants
  • • Search & filter

🔄 Plan Management & Requests

Subscription management testing tools

🎯 Customer Portal Simulation
Interactive test pages that replicate customer portal workflows for testing subscription management features. Test plan changes, cancellation requests, and billing upgrades with live API integration and request tracking.

🔧 API Endpoints Tested

Request Tracking
  • • POST /subscriptions/{id}/request-cancellation
  • • POST /subscriptions/{id}/request-plan-change
  • • GET /requests/cancellations
  • • GET /requests/plan-changes
  • • DELETE /requests/{id}
Billing Upgrades
  • • GET /subscriptions/{id}/billing-details
  • • GET /subscriptions/{id}/upgrade-preview
  • • POST /subscriptions/{id}/upgrade-billing-period
  • • DELETE /subscriptions/{id}/scheduled-changes/{id}
Features
  • • Duplicate prevention validation
  • • Optional reason/comment fields
  • • Request status tracking
  • • Real-time updates
  • • Modal-based workflows

📚 Documentation

Implementation guides and references

✨ Features

What's included in this testing suite

🏥 WeightWise Checkout

  • • Contract-based pricing
  • • Stripe payment integration
  • • Real-time pricing updates
  • • Complete 6-step flow
  • • Error handling
  • • Responsive design

💊 NIMCORE Checkout

  • • Coupon code validation
  • • Real-time discount preview
  • • Stripe.js integration
  • • Invoice generation flow
  • • Success page with details
  • • Debug console

🧪 QA Testing Tools

  • • Manual renewal triggers
  • • Payment capture simulation
  • • Period end testing
  • • Invoice verification
  • • Real-time activity logs
  • • Multi-environment support

📋 Recommendation Service

  • • Medicine & dosage CRUD
  • • Create recommendations
  • • Version history tracking
  • • Patient accept/reject
  • • Multi-treatment support
  • • Flexible pricing

💬 Chat Service

  • • Real-time messaging
  • • Conversation management
  • • Multi-participant chats
  • • User role switching
  • • API debug panel
  • • Search & filtering

⚡ Billing Management

  • • Load billing details
  • • Preview contract upgrades
  • • Schedule changes
  • • Cancel scheduled upgrades
  • • Create test subscriptions
  • • API response logging

🎨 Modern Design

  • • Beautiful gradients
  • • Smooth animations
  • • Mobile responsive
  • • Intuitive UX
  • • Consistent styling
  • • Accessibility features

📑 Complete Demo Index

Quick reference guide to all 14 live demos

Demo File Service Features
📋 WeightWise Overview weightwise-plans-index.html WeightWise 4 plans comparison, pricing table
💉 CORE Tirzepatide weightwise-core-tirzepatide.html WeightWise $329/mo, Contract checkout, Stripe
💊 CORE Semaglutide weightwise-core-semaglutide.html WeightWise $149/mo, Contract checkout, Stripe
🔄 SUSTAIN Tirzepatide weightwise-sustain-tirzepatide.html WeightWise $110/mo, Min 3-month contract
✨ SUSTAIN Semaglutide weightwise-sustain-semaglutide.html WeightWise $83/mo, Min 3-month contract
💊 NIMCORE Checkout nimcore-checkout-example.html NIMCORE $224/mo, Coupon validation, Invoice flow
💳 One-Time Payments one-time-payment-test.html NIMCORE One-time payments, Stripe integration, API logging
🔄 NIMCORE Flow Simulator nimcore-flow-simulator.html NIMCORE Complete journey: Enrollment, recommendations, payment, receipts
📋 Recommendation Service recommendation-service/index.html Recommendations Medicine management, patient recommendations, version tracking
🧪 QA Payment Simulator qa-tools/nimcore-payment-simulator.html QA Tools Subscription renewal & payment capture testing, No cron wait
💬 Chat Service UI chat-service/index.html Chat Real-time messaging, Debug panel, Multi-user
🔄 Plan Change & Cancellation plan-change-request/request-tracking-test.html Plan Management Request tracking, Status management, Modal workflows
⚡ Billing Upgrades billing-switch-test.html Billing Contract upgrades, Preview pricing, API logs

💡 Development Tips

🧪 Testing
• Use Stripe test card: 4242 4242 4242 4242
• Check browser console for debug info
• Open Network tab to see API calls
• All services run in test mode
🔍 Debugging
• Chat Service has built-in debug panel
• Billing test shows live API responses
• NIMCORE includes debug console
• Check API response logs in UI
📚 Documentation
• Each service has README.md
• Check DEVELOPER_GUIDE.md files
• View source code for examples
• API endpoints documented inline