Inspiration

Subscription services often attract customers with promotional offers, free trials, and discounted introductory prices. However, the actual billing configuration may contain different renewal prices, billing intervals, or additional charges.

Customers deserve to know exactly what they are agreeing to pay before subscribing.

We created ClearTerm AI to bridge the gap between advertised subscription promises and actual payment configurations.

Our vision is simple: What You're Promised Is What You Pay.

What it does

ClearTerm AI is an AI-powered subscription consent and billing integrity platform that detects discrepancies between advertised subscription offers and actual PayPal billing configurations.

The platform allows users to:

  • Upload promotional images and PDF documents.
  • Extract subscription terms using Google Gemini.
  • Identify advertised prices, currencies, billing intervals, trial periods, introductory prices, and setup fees.
  • Retrieve actual subscription plans from PayPal Sandbox.
  • Compare advertised terms against actual billing configurations.
  • Generate deterministic verification results.
  • View integrity reports with supporting evidence.
  • Prevent subscription checkout when discrepancies or unresolved review conditions exist.

The verification engine produces three possible outcomes:

  • VERIFIED: Available financial terms match.
  • MISMATCH DETECTED: One or more billing discrepancies are identified.
  • REQUIRES REVIEW: Information is missing, ambiguous, or insufficient for reliable verification.

ClearTerm AI helps make subscription pricing more transparent before customers pay.

How we built it

We developed ClearTerm AI using a full-stack architecture.

Frontend:

  • React.js
  • Vite
  • Tailwind CSS
  • Recharts
  • Lucide React

Backend:

  • Python
  • Flask
  • SQLite
  • Flask-SQLAlchemy

AI Integration:

  • Google Gemini API
  • Multimodal document extraction
  • Structured JSON extraction using Pydantic

Payment Integration:

  • PayPal Developer Platform
  • PayPal REST APIs
  • PayPal Subscriptions API
  • PayPal Sandbox

Deployment and Version Control:

  • Vercel
  • Render
  • GitHub

Our architecture separates AI extraction from financial verification. Gemini extracts information from promotional documents, while a deterministic Python verification engine compares the extracted terms with PayPal billing data using precise decimal calculations.

This separation ensures that AI interprets the advertisement, but financial verification is performed using predictable backend logic.

Challenges we ran into

One major challenge was extracting financial information from promotional materials where prices, introductory offers, and renewal terms were not always clearly presented.

We addressed this by preserving missing information as unknown, identifying ambiguous values, and returning a review status whenever the evidence was insufficient.

Another challenge was integrating PayPal Sandbox subscription plans and retrieving their actual billing configurations for comparison.

We also focused on preventing checkout when a mismatch or unresolved verification condition exists.

Deploying the React frontend and Python backend separately introduced additional challenges involving API communication, environment variables, and client-side routing.

Accomplishments that we're proud of

We are proud to have developed a working end-to-end subscription verification platform that combines multimodal AI extraction with real PayPal Sandbox billing data.

Our key accomplishments include:

  • Building a document extraction workflow using Google Gemini.
  • Integrating PayPal Sandbox subscription plan retrieval.
  • Developing a deterministic financial comparison engine.
  • Implementing VERIFIED, MISMATCH DETECTED, and REQUIRES REVIEW outcomes.
  • Creating evidence-based integrity reports.
  • Implementing subscription consent and checkout protection.
  • Deploying the frontend and backend publicly.
  • Publishing the project source code with an MIT license.

Most importantly, we built a system where AI extraction and financial decision-making remain separate, making the verification process more transparent and reliable.

What we learned

Through this project, we gained practical experience in multimodal AI, prompt engineering, structured data extraction, payment API integration, backend development, and cloud deployment.

We learned that AI can help interpret complex promotional information, but financial verification requires deterministic calculations, evidence, and carefully designed validation rules.

We also learned the importance of handling uncertainty instead of making assumptions when financial information is incomplete.

What's next for ClearTerm AI

We envision ClearTerm AI becoming a broader subscription transparency platform.

Our future plans include:

  • Persistent subscription monitoring.
  • Notifications when billing configurations change.
  • Improved detection of hidden renewal-price changes.
  • Expanded payment-provider integrations.
  • Enhanced customer consent and billing transparency.
  • More advanced evidence tracking and audit capabilities.

Our long-term goal is to help customers make informed subscription decisions by ensuring that advertised promises and actual billing configurations are aligned.

ClearTerm AI — What You're Promised Is What You Pay.

Built With

Share this project:

Updates

posted an update —

ClearTerm AI – From Idea to Live Deployment!

I'm excited to share the progress of ClearTerm AI – What You're Promised Is What You Pay, built for the PayPal AI Hackathon 2026.

The goal of ClearTerm AI is to make subscription billing more transparent by identifying discrepancies between advertised promotional offers and actual PayPal billing configurations.

What I've built

  • Gemini AI Integration: Extracts subscription pricing and billing terms from uploaded promotional documents.
  • PayPal Sandbox Integration: Retrieves actual subscription plans and billing configurations.
  • Deterministic Verification Engine: Compares advertised terms against PayPal data and identifies mismatches.
  • Integrity Audit Reports: Generates detailed reports with verification findings.
  • Subscription Consent: Blocks checkout when verification identifies mismatches or requires further review.
  • Deployment: Published the frontend on Vercel and backend on Render.

Testing and validation

Tested the end-to-end document verification workflow, PayPal Sandbox plan retrieval, mismatch detection, audit report generation, and checkout protection.

What I learned

This project helped me understand multimodal AI integration, REST APIs, payment workflows, backend development, deterministic financial validation, and cloud deployment.

What's next?

I plan to improve evidence traceability, strengthen subscription lifecycle monitoring, and further refine the user experience.

Building ClearTerm AI has been a valuable learning experience, and I'm proud to bring this idea from concept to a deployed working prototype.

ClearTerm AI – Every Payment Should Match Every Promise.

Live Demo: https://clearterm-ai.vercel.app GitHub: https://github.com/Rithika0107/ClearTerm-AI