Inspiration
In 2010, Freecharge and Paytm started with the same idea: mobile recharges. But Paytm reached people others ignored, including small street vendors, and grew to millions of users.
We want to do the same for digital products.
Today, courses, ebooks and templates are often priced for wealthy countries. A $39 product may be affordable in the US but expensive for someone in India.
Existing regional pricing has two major problems:
- Sellers must manually set prices for every country.
- Buyers can use VPNs to access cheaper regional prices.
Our goal: Make digital products affordable worldwide without compromising sellers' revenue or payment security.
What FairPrice Does
FairPrice uses AI to recommend country-specific prices and PayPal to verify buyers before charging them.
Here's how it works:
- Seller sets the rules: Base price, minimum price and maximum discount.
- AI recommends prices: Generates suitable prices for 42 countries based on purchasing power and likely customer demand.
- Seller stays in control: Every price is validated against the seller's limits and approved before going live.
- PayPal verifies the buyer: The buyer's PayPal account country is checked before payment is captured.
- Fair payment: A buyer in India might pay $16 instead of $39. A US account using an Indian VPN cannot claim the Indian price.
Bonus: Alex, our multilingual AI video assistant, guides buyers and sellers through the platform without permission to change prices or process payments.
Why This Matters for PayPal
FairPrice creates value for everyone:
- Buyers: More affordable access to digital products.
- Creators: Access to customers who previously couldn't afford their products.
- PayPal: Potentially more users, increased transaction volume and greater merchant adoption.
Our biggest advantage: PayPal isn't just the payment gateway. It's what makes our regional pricing model trustworthy.
How We Built It
We combined AI, secure payments and a modern web platform.
- Platform: Next.js, TypeScript, PostgreSQL and Prisma.
- AI pricing: Claude Sonnet 5.5 recommends prices using purchasing-power data and product-specific demand.
- Payment security: PayPal Orders v2 verifies the account country before payment capture.
- AI assistant: Gemini Live powers Alex, our interactive multilingual guide.
- Safety: Every AI-generated price is validated by code and approved by the seller.
We also built 458 unit tests and tested real payment scenarios in PayPal's sandbox.
Challenges We Solved
1. Preventing regional price abuse
Instead of trying to detect VPNs, we verify the buyer's PayPal account country.
2. Protecting sellers' money
Payments are authorized first and captured only after verification. Failed checks result in no captured charge.
3. Making AI pricing reliable
AI recommendations sometimes violated pricing rules. We solved this using code-based validation and automatic fallbacks.
4. Building a safe AI assistant
Alex can explain prices and guide users, but cannot approve prices or handle payments.
Our Biggest Achievements
- Verified sandbox payments: An Indian PayPal account successfully paid $16 instead of $39.
- VPN protection: A US account pretending to be in India was charged $0.
- Smarter AI pricing: For a US tax guide, AI reduced unnecessary discounts in 34 low-demand countries, lowering the average discount from 41.8% to 8.5%.
- 458 unit tests: Built to validate core business logic and payment safety.
- Working AI assistant: Alex guides users without access to payment controls.
Most importantly, our payment flow works end-to-end in PayPal's sandbox.
What We Learned
Three principles shaped FairPrice:
- AI should make recommendations, not financial guarantees.
- Code should enforce every pricing and payment rule.
- Verify first, capture payment second.
This allows us to offer flexible global pricing while keeping sellers in control.
What's Next
- Launch with live PayPal payments and real sellers.
- Support local currencies and additional languages.
- Make FairPrice easy to integrate with any online store.
Our Vision
One digital product. Fairer prices for every country. More customers for creators. More payment opportunities for PayPal.
FairPrice isn't just about offering discounts. It's about reaching the customers the global digital economy has been leaving behind.
Built With
- ag-grid
- anthropic
- claude
- claude-code
- gemini-live
- next.js
- node.js
- paypal
- paypal-js-sdk
- paypal-orders-api
- paypal-webhooks
- playright
- postgresql
- prisma
- react
- render
- tailwindcss
- typescript
- vertex-ai
- websockets
- zod